From: ceriel Date: Fri, 18 Oct 1991 12:00:17 +0000 (+0000) Subject: Do not perform actions if NoAction file is present X-Git-Tag: release-5-5~714 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f58f97e73174abb7c948359e169c5cf131a11e28;p=ack.git Do not perform actions if NoAction file is present --- diff --git a/TakeAction b/TakeAction index 938a642d7..1806f84d0 100755 --- a/TakeAction +++ b/TakeAction @@ -74,6 +74,7 @@ do indir) if sh $THISFILE "$PAR" $ACTION then eval echo $SUCC + touch NoAction else RETC=2 ; eval echo $FAIL fi ;; *) @@ -82,8 +83,13 @@ do ;; *) ;; esac + if [ -f NoAction ] + then + ACTION='echo "No actions performed, NoAction file present"' + fi if eval "{ $ACTION ; } >Out 2>&1