X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=do_clean;h=054edc40980d6d518956bbc2c7588b9a4836b0cf;hb=HEAD;hp=99b732f2baf6400f3916037e1598d9f4bb8d1b35;hpb=38b59ad6fb960f003181ba3bfeb04b67a9e9a692;p=next-scripts diff --git a/do_clean b/do_clean index 99b732f..054edc4 100755 --- a/do_clean +++ b/do_clean @@ -1,11 +1,11 @@ #!/bin/bash -RM_FILES="last_msg.bak merge.debug merge.log quilt-import.log" +RM_FILES="last_msg.bak merge.debug merge.log" OTHER_RM_FILES="mails/* akpm-import.log" MV_FILES="summ" # check for files that should exist before we delete anything -for i in ${FILES} ${MV_FILES}; do +for i in ${RM_FILES} ${MV_FILES}; do [ -e "$i" ] || { printf '%s: no "%s" file\n' "$0" "$i" 1>&2 exit 1