From: Paul Eggert Date: Sat, 14 Jun 2003 05:04:52 +0000 (+0000) Subject: (dsttmp, rmtmp): Do not use '#' in file names; X-Git-Tag: Release-1-7b~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a70aabfb6441c6e101727691b1883819959c9af8;p=thirdparty%2Fautomake.git (dsttmp, rmtmp): Do not use '#' in file names; it's not guaranteed by POSIX and it doesn't work on OpenVMS. Bug reported by Bernard Giroud in: http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html --- diff --git a/lib/install-sh b/lib/install-sh index e4f003959..2c1f8777b 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2003-05-09.19 +scriptversion=2003-06-13.21 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -230,8 +230,8 @@ else test -z "$dstfile" && dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/#inst.$$# - rmtmp=$dstdir/#rm.$$# + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0