summaryrefslogtreecommitdiff
path: root/build-aux/compile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-10-08 08:01:40 -0700
committerKarl Berry <karl@freefriends.org>2009-10-08 08:01:40 -0700
commitfd67d661ce67a064a1004fc4cbc35f8a6418e525 (patch)
tree58b44cca8d58c3e8cda4d8a602b45fcaddd545d4 /build-aux/compile
parent01b49fe4d1da5914f69ea22dac6e34fa905c83a4 (diff)
downloadgnulib-fd67d661ce67a064a1004fc4cbc35f8a6418e525.tar.gz
autoupdate
Diffstat (limited to 'build-aux/compile')
-rwxr-xr-xbuild-aux/compile6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/compile b/build-aux/compile
index ec64c62202..c0096a7b56 100755
--- a/build-aux/compile
+++ b/build-aux/compile
@@ -1,7 +1,7 @@
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2009-10-06.20; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
# Foundation, Inc.
@@ -124,9 +124,9 @@ trap "rmdir '$lockdir'; exit 1" 1 2 15
ret=$?
if test -f "$cofile"; then
- mv "$cofile" "$ofile"
+ test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
- mv "${cofile}bj" "$ofile"
+ test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"