patch-compile 709 B

1234567891011121314151617181920212223
  1. --- cryptsetup-1.1.0.orig/compile 2009-08-24 17:04:56.000000000 +0200
  2. +++ cryptsetup-1.1.0/compile 2010-02-14 18:24:56.000000000 +0100
  3. @@ -1,7 +1,7 @@
  4. #! /bin/sh
  5. # Wrapper for compilers which do not understand `-c -o'.
  6. -scriptversion=2009-04-28.21; # UTC
  7. +scriptversion=2009-10-06.20; # UTC
  8. # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
  9. # Foundation, Inc.
  10. @@ -124,9 +124,9 @@ trap "rmdir '$lockdir'; exit 1" 1 2 15
  11. ret=$?
  12. if test -f "$cofile"; then
  13. - mv "$cofile" "$ofile"
  14. + test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
  15. elif test -f "${cofile}bj"; then
  16. - mv "${cofile}bj" "$ofile"
  17. + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
  18. fi
  19. rmdir "$lockdir"