From: Stephen Rothwell Date: Sun, 18 Nov 2018 17:40:25 +0000 (+1100) Subject: do_clean: fix typo X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=92f43a864ef47ab5a67cffea04807c3d5f308934;p=next-scripts do_clean: fix typo --- diff --git a/do_clean b/do_clean index 99b732f..ab23480 100755 --- 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