1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00
Arsse/robo

18 lines
278 B
Text
Raw Permalink Normal View History

2017-12-08 20:15:20 +00:00
#! /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
2019-08-04 23:21:09 +00:00
if [ $# -eq 0 ]; then
"$php" "$robo"
2017-12-20 03:19:34 +00:00
else
2019-08-04 23:21:09 +00:00
shift
ulimit -n 2048
"$php" "$robo" "$command" -- "$@"
2019-03-21 02:25:00 +00:00
fi