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 = file_exists($dbg) ? $dbg : "";
} else {
$dbg = `which phpdbg`;
$dbg = trim(`which phpdbg`);
}
if ($dbg) {
return escapeshellarg($dbg)." -qrr";

2
robo
View file

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