]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/MKkey_defs.sh
ncurses 6.0 - patch 20170930
[ncurses.git] / include / MKkey_defs.sh
index b3cb4f7f72cbd6b721a2d48a0d7e6dc5f5582814..f8b7d19cd6b5dd063a69751eca3503334e33835e 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
-# $Id: MKkey_defs.sh,v 1.14 2003/12/06 17:10:09 tom Exp $
+# $Id: MKkey_defs.sh,v 1.16 2017/08/12 12:22:06 tom Exp $
 ##############################################################################
-# Copyright (c) 2001-2002,2003 Free Software Foundation, Inc.                #
+# Copyright (c) 2001-2013,2017 Free Software Foundation, Inc.                #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -42,7 +42,7 @@ pass1=pass1_$$
 pass2=pass2_$$
 pass3=pass3_$$
 pass4=pass4_$$
-trap 'rm -f $data pass[1234]_$$' 0 1 2 5 15
+trap 'rm -f $data pass[1234]_$$' 0 1 2 3 15
 
 # change repeated tabs (used for readability) to single tabs (needed to make
 # awk see the right field alignment of the corresponding columns):
@@ -65,9 +65,12 @@ key_resize   kr1     str     R1      KEY_RESIZE      +       -----   Terminal resize event
 key_event      kv1     str     V1      KEY_EVENT       +       -----   We were interrupted by an event
 EOF
 
+THIS=./`basename $0`
+PARM=./`basename $DATA`
+
 cat <<EOF
 /*
- * These definitions were generated by $0 $DATA
+ * These definitions were generated by $THIS $PARM
  */
 EOF