Browse Source

Unix Robo fixes

tags/0.7.1
J. King 5 months ago
parent
commit
5480b59d93
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      RoboFile.php
  2. 2
    2
      robo

+ 1
- 1
RoboFile.php 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
- 2
robo View File

@@ -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
fi

Loading…
Cancel
Save