forked from github/server
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
3d05dd4484
1 changed files with 1 additions and 1 deletions
|
@ -16,10 +16,10 @@ mkdir -p orders.dir
|
||||||
cd orders.dir
|
cd orders.dir
|
||||||
lockfile -r3 -l120 "$LOCKFILE"
|
lockfile -r3 -l120 "$LOCKFILE"
|
||||||
eval "$(python "$BIN/accept-orders.py" "$@")"
|
eval "$(python "$BIN/accept-orders.py" "$@")"
|
||||||
|
rm -f "$LOCKFILE"
|
||||||
filename=$(basename "$ACCEPT_FILE")
|
filename=$(basename "$ACCEPT_FILE")
|
||||||
email="$ACCEPT_MAIL"
|
email="$ACCEPT_MAIL"
|
||||||
if [ -d "$ERESSEA/orders-php" ]
|
if [ -d "$ERESSEA/orders-php" ]
|
||||||
then
|
then
|
||||||
php "$ERESSEA/orders-php/cli.php" insert "$filename" "$email"
|
php "$ERESSEA/orders-php/cli.php" insert "$filename" "$email"
|
||||||
fi
|
fi
|
||||||
rm -f "$LOCKFILE"
|
|
||||||
|
|
Loading…
Reference in a new issue