git://git.exim.org
/
buildfarm-client.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more notes on configuration
[buildfarm-client.git]
/
run_cron.sh
diff --git
a/run_cron.sh
b/run_cron.sh
index 5c81a8588d48d386ec4d4a3323c5f39f320288ec..930663822ddaf4d4ece8288d27b64106d8f39cb2 100755
(executable)
--- a/
run_cron.sh
+++ b/
run_cron.sh
@@
-1,5
+1,17
@@
#!/bin/sh
#!/bin/sh
+new=${0%.sh}
+
+if test -t; then
+ cat <<___ >&2
+`basename $0`: Please use $new (note the missing extension!) instead.
+This ($0) script will be removed without any further notice.
+___
+ exit 1
+fi
+
+exec $new "$@"
+
if which dirname >/dev/null; then
BFDIR=`dirname $0`
elif [ "x${BFDIR}" = "x" ]; then
if which dirname >/dev/null; then
BFDIR=`dirname $0`
elif [ "x${BFDIR}" = "x" ]; then