diff options
author | merakor <cem@ckyln.com> | 2020-05-01 20:43:38 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-01 20:43:38 +0000 |
commit | fd3be2c1f23527d383f50169e9bc77b43b71cea3 (patch) | |
tree | fafb4d39a1ca539b85a152ea618dc40c525d4705 | |
parent | f22ffc73b1246e6a3f441817d18f4fa9a551e349 (diff) | |
download | cpt-1.16.1.tar.gz |
kiss: fix interrupts in Korn Shell1.16.1
FossilOrigin-Name: 244a3f5884bc44fa8bb90444860510755a85f248741fa3a72b014cb1ac513718
-rwxr-xr-x | kiss | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1460,6 +1460,11 @@ main() { KISS_ROOT=${KISS_ROOT%/} } + # On 'ksh', Ctrl + C does not send an interrupt signal by default. + # This would cause a prompt to pass while the user would be trying + # to cancel, or the user would want to abort building a package. + stty intr "^C" + # This allows for automatic setup of a KISS chroot and will # do nothing on a normal system. mkdir -p "${sys_db:=$KISS_ROOT/$pkg_db}" 2>/dev/null ||: |