diff options
author | Doug Evans <dje@google.com> | 1998-07-24 15:48:47 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-07-24 15:48:47 +0000 |
commit | 66f3fbe13cfc640ecc8f30e40057af6e80f96a01 (patch) | |
tree | a6b08dfc243603fc21210c3d2ce76c5b4a9a35b8 /config/.Sanitize | |
parent | 456876c8c4acde3502377a3133f2120a5ae87a52 (diff) | |
download | gdb-66f3fbe13cfc640ecc8f30e40057af6e80f96a01.zip gdb-66f3fbe13cfc640ecc8f30e40057af6e80f96a01.tar.gz gdb-66f3fbe13cfc640ecc8f30e40057af6e80f96a01.tar.bz2 |
* mt-sky: New file.
Diffstat (limited to 'config/.Sanitize')
-rw-r--r-- | config/.Sanitize | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/config/.Sanitize b/config/.Sanitize index e44c413..ceb33b8 100644 --- a/config/.Sanitize +++ b/config/.Sanitize @@ -27,6 +27,12 @@ else keep_these_too="${keep_these_too} mh-windows" fi +if ( echo $* | grep keep\-sky > /dev/null ) ; then + keep_these_too="${keep_these_too} mt-sky" +else + lose_these_too="${lose_these_too} mt-sky" +fi + # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize @@ -123,6 +129,34 @@ else done fi +sky_files="ChangeLog" +if ( echo $* | grep keep\-sky > /dev/null ) ; then + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sky stuff in $i + fi + fi + done +else + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sky\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi + cygnus_files="mh-go32" if ( echo $* | grep keep\-cygnus > /dev/null ) ; then for i in $cygnus_files ; do |