From f51d20a863078f70ae09b0714f62fa261f0b302e Mon Sep 17 00:00:00 2001 From: "J. King" Date: Wed, 20 Mar 2019 22:25:00 -0400 Subject: [PATCH] Unix Robo fixes --- RoboFile.php | 2 +- robo | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RoboFile.php b/RoboFile.php index e73d3e48..8df789ba 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -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"; diff --git a/robo b/robo index 7d4d4d76..d6af8dfa 100755 --- a/robo +++ b/robo @@ -3,8 +3,8 @@ 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" -- $* -fi \ No newline at end of file +fi