Fix a few shellisms, configure for Z80 traditional and ANSI C only
[Ack-5.5.git] / first / cp_dir
index 3bc1b28..4c5a13c 100755 (executable)
@@ -1,5 +1,5 @@
 set -e
-trap "rm -f /tmp/xx$$" 0 1 2 3 15
+trap "rm -f /tmp/xx__" 0 1 2 3 15
 case $2 in
 /*)    target_dir=$2
        ;;
@@ -7,10 +7,10 @@ case $2 in
        ;;
 esac
 cd $1
-tar cf /tmp/xx$$ .
+tar cf /tmp/xx__ .
 if [ -d $target_dir ]
 then :
 else mkdir $target_dir
 fi
 cd $target_dir
-tar xf /tmp/xx$$
+tar xf /tmp/xx__