From eafd110730ff123526439b807b3adc229a19c1ee Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sat, 3 Apr 2010 17:48:36 +0200 Subject: Imported Upstream version 0.15 --- compile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compile') diff --git a/compile b/compile index ec64c62..c0096a7 100755 --- a/compile +++ b/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" -- cgit