$tempfoo was of course not set - lets use a static path prefix here for simplicity
This commit is contained in:
parent
07aec736f5
commit
2c4f2d3037
@ -15,8 +15,7 @@ res=$(cd "$dir" && /bin/pwd || "$dir")
|
|||||||
SCRIPTDIR="$res/$(readlink $0)"
|
SCRIPTDIR="$res/$(readlink $0)"
|
||||||
PHP_POST_PUSH=$SCRIPTDIR/mtnpostpush.php
|
PHP_POST_PUSH=$SCRIPTDIR/mtnpostpush.php
|
||||||
|
|
||||||
base=$(basename "$0")
|
TMPFILE=$(mktemp /tmp/mtn-post-push.XXXXXX) || exit 1
|
||||||
TMPFILE=$(mktemp /tmp/${tempfoo}.XXXXXX) || exit 1
|
|
||||||
while read rev; do echo $rev >> $TMPFILE; done
|
while read rev; do echo $rev >> $TMPFILE; done
|
||||||
|
|
||||||
echo php $PHP_POST_PUSH "$1" \< $TMPFILE \&\& rm -f $TMPFILE |\
|
echo php $PHP_POST_PUSH "$1" \< $TMPFILE \&\& rm -f $TMPFILE |\
|
||||||
|
Loading…
Reference in New Issue
Block a user