From: dtrg Date: Tue, 18 Jul 2006 17:20:46 +0000 (+0000) Subject: Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells... X-Git-Tag: release-6-0-pre-1~132 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d722986e66b2d673bb2bba04feb9021eaeb7da4e;p=ack.git Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.) --- diff --git a/TakeAction b/TakeAction index 6a25701da..dab72f5dd 100755 --- a/TakeAction +++ b/TakeAction @@ -1,3 +1,5 @@ +#!/bin/sh + case $# in 0) PAR='make install && make clean' ; CMD=Action ;; 1) PAR="$1" ; CMD=Action ;; diff --git a/util/ncgg/cvtkeywords b/util/ncgg/cvtkeywords index 10ba2e111..85b7e035c 100755 --- a/util/ncgg/cvtkeywords +++ b/util/ncgg/cvtkeywords @@ -1,4 +1,6 @@ +#!/bin/sh : '$Id$' + grep '^#' y.tab.h >tokendefs ed -s $1 <<'!Funky!Stuff!' g/^#/d diff --git a/util/opt/testopt b/util/opt/testopt index ce95622b8..32fdb2a92 100755 --- a/util/opt/testopt +++ b/util/opt/testopt @@ -1,4 +1,6 @@ +#!/bin/sh : '$Id$' + while true do (echo ' mes 2,2,2