From 88f56a180c30cc37116e182d2a44d77abcf11cd2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 14 Jun 2003 05:04:52 +0000 Subject: [PATCH] (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 --- lib/install-sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/install-sh b/lib/install-sh index e4f00395..2c1f8777 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 -- 2.43.5