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