mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
4131531bff
- Add new files to PKGBUILD backup - Adjust Robo caller to use ARSSE_PHP variable; Windows will need adjusting later
17 lines
278 B
Bash
Executable file
17 lines
278 B
Bash
Executable file
#! /bin/sh
|
|
base=`dirname "$0"`
|
|
command="$1"
|
|
robo="$base/vendor-bin/robo/vendor/bin/robo"
|
|
if [ -z "$ARSSE_PHP" ]; then
|
|
php="php"
|
|
else
|
|
php="$ARSSE_PHP"
|
|
fi
|
|
|
|
if [ $# -eq 0 ]; then
|
|
"$php" "$robo"
|
|
else
|
|
shift
|
|
ulimit -n 2048
|
|
"$php" "$robo" "$command" -- "$@"
|
|
fi
|