diff options
author | Rob Austein <sra@hactrn.net> | 2012-04-17 02:03:36 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-04-17 02:03:36 +0000 |
commit | 6581dd91b0d4628f8528bf0c19f18a6d858928b9 (patch) | |
tree | 9bd100ee5392f880137233328e4bce357b3732aa | |
parent | 003778077dd870c36b56b2d815b8432b9815fb29 (diff) |
Doh, better way of handling script name.
svn path=/trunk/; revision=4428
-rwxr-xr-x | doc/cronjob.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/cronjob.sh b/doc/cronjob.sh index f87fe478..3e411a8d 100755 --- a/doc/cronjob.sh +++ b/doc/cronjob.sh @@ -2,7 +2,6 @@ # $Id$ lock=cronjob.lock -script=$HOME/subvert-rpki.hactrn.net/trunk/buildtools/pull-doc-from-wiki.py cd `/usr/bin/dirname $0` || exit @@ -13,7 +12,7 @@ locked) set -x export PATH=/bin:/usr/bin:/usr/local/bin /usr/local/bin/svn update - /usr/local/bin/python $script + /usr/local/bin/python ../buildtools/pull-doc-from-wiki.py /usr/local/bin/svn status if test -n "$(/usr/local/bin/svn status doc.*)" then |