]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Show full pathnames.
authorKen Raeburn <raeburn@cygnus>
Tue, 26 Oct 1993 17:29:39 +0000 (17:29 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 26 Oct 1993 17:29:39 +0000 (17:29 +0000)
For "safe" case, move tc-sparc64 files into .Recover, instead of deleting them.

gas/config/.Sanitize

index 6f03c328d1667acb45e07b297e4ebff0db9fc06f..41e67b3ba45b5dc94d3e3e6ed2b4593fab5b883b 100644 (file)
@@ -141,27 +141,29 @@ z8k.mt
 
 Things-to-lose:
 
-
-
 Do-last:
 
 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
-       echo Keeping tc-sparc64 and v9 stuff in tc-sparc.c obj-elf.h.
+       echo Keeping v9 stuff in `pwd`/tc-sparc'*' and obj-elf.h.
 else
-       echo Cleaning tc-sparc.c...
+       echo Cleaning `pwd`/tc-sparc.c...
        sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
        if [ -n "${safe}" ] ; then
                cp tc-sparc.c .Recover
        fi
        mv new tc-sparc.c
-       echo Cleaning obj-elf.h...
+       echo Cleaning `pwd`/obj-elf.h...
        grep -v v9 < obj-elf.h > new
        if [ -n "${safe}" ] ; then
                cp obj-elf.h .Recover
        fi
        mv new obj-elf.h
-       echo Deleting tc-sparc64 files.
-       rm -f tc-sparc64.c tc-sparc64.h
+       echo Deleting tc-sparc64 files in `pwd`.
+       if [ -n "${safe}" ] ; then
+               mv -f tc-sparc64.c tc-sparc64.h .Recover
+       else
+               rm -f tc-sparc64.c tc-sparc64.h
+       fi
 fi
 
 # End of file.