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

Unix Robo fixes

This commit is contained in:
J. King 2019-03-20 22:25:00 -04:00
parent 9ebaa20633
commit f51d20a863
2 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@ class RoboFile extends \Robo\Tasks {
$dbg = dirname(\PHP_BINARY)."\\phpdbg.exe"; $dbg = dirname(\PHP_BINARY)."\\phpdbg.exe";
$dbg = file_exists($dbg) ? $dbg : ""; $dbg = file_exists($dbg) ? $dbg : "";
} else { } else {
$dbg = `which phpdbg`; $dbg = trim(`which phpdbg`);
} }
if ($dbg) { if ($dbg) {
return escapeshellarg($dbg)." -qrr"; return escapeshellarg($dbg)." -qrr";

4
robo
View file

@ -3,8 +3,8 @@ base=`dirname "$0"`
roboCommand="$1" roboCommand="$1"
shift shift
if [ "$1" == "clean" ]; then if [ "$1" = "clean" ]; then
"$base/vendor/bin/robo" "$roboCommand" $* "$base/vendor/bin/robo" "$roboCommand" $*
else else
"$base/vendor/bin/robo" "$roboCommand" -- $* "$base/vendor/bin/robo" "$roboCommand" -- $*
fi fi