]> git.ozlabs.org Git - next-scripts/commitdiff
do_clean: fix typo
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 18 Nov 2018 17:40:25 +0000 (04:40 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 18 Nov 2018 17:40:25 +0000 (04:40 +1100)
do_clean

index 99b732f2baf6400f3916037e1598d9f4bb8d1b35..ab23480da18681065e6648e49280ea52b9532c3b 100755 (executable)
--- a/do_clean
+++ b/do_clean
@@ -5,7 +5,7 @@ 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