X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=include%2Fedit_cfg.sh;fp=include%2Fedit_cfg.sh;h=ed098a8aab27aeb8985f656af4491b9d86f99a68;hb=79b07cae47a6fa064aa4d2ea70fe930884751eb4;hp=f7f1795654f24fd3a2b2f8471f0ab61f333653cb;hpb=95b3f94ec8b2da797e3e9a18fb49320daa5ab221;p=ncurses.git diff --git a/include/edit_cfg.sh b/include/edit_cfg.sh index f7f17956..ed098a8a 100755 --- a/include/edit_cfg.sh +++ b/include/edit_cfg.sh @@ -1,7 +1,7 @@ #!/bin/sh -# $Id: edit_cfg.sh,v 1.14 2020/02/02 23:34:34 tom Exp $ +# $Id: edit_cfg.sh,v 1.15 2022/02/05 20:38:40 tom Exp $ ############################################################################## -# Copyright 2020 Thomas E. Dickey # +# Copyright 2020,2022 Thomas E. Dickey # # Copyright 1998-2001,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # @@ -39,7 +39,8 @@ # BAK=save$$ TMP=edit$$ -trap "rm -f $BAK $TMP" 0 1 2 3 15 +trap "rm -f $BAK $TMP; exit 1" 1 2 3 15 +trap "rm -f $BAK $TMP" 0 for name in \ HAVE_TCGETATTR \ HAVE_TERMIOS_H \