aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-10-26 17:29:39 +0000
committerKen Raeburn <raeburn@cygnus>1993-10-26 17:29:39 +0000
commit535721d5f004f63a8aa1fa82bb798fd417a8da7d (patch)
treebabd6fb300c51b37fd5b44f02f96a86580ac0694 /gas
parent8f78d0e9dc26f49f415eb6b7a8f166ea6be8b8e2 (diff)
downloadgdb-535721d5f004f63a8aa1fa82bb798fd417a8da7d.zip
gdb-535721d5f004f63a8aa1fa82bb798fd417a8da7d.tar.gz
gdb-535721d5f004f63a8aa1fa82bb798fd417a8da7d.tar.bz2
Show full pathnames.
For "safe" case, move tc-sparc64 files into .Recover, instead of deleting them.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/.Sanitize16
1 files changed, 9 insertions, 7 deletions
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize
index 6f03c32..41e67b3 100644
--- a/gas/config/.Sanitize
+++ b/gas/config/.Sanitize
@@ -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.