1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-21 20:52:40 +00:00
Arsse/robo
J. King 4131531bff Tweaks
- Add new files to PKGBUILD backup
- Adjust Robo caller to use ARSSE_PHP variable; Windows will need adjusting later
2023-12-29 19:42:33 -05:00

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