Browse Source

Unix Robo fixes

J. King 1 month 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 {
85 85
             $dbg = dirname(\PHP_BINARY)."\\phpdbg.exe";
86 86
             $dbg = file_exists($dbg) ? $dbg : "";
87 87
         } else {
88
-            $dbg = `which phpdbg`;
88
+            $dbg = trim(`which phpdbg`);
89 89
         }
90 90
         if ($dbg) {
91 91
             return escapeshellarg($dbg)." -qrr";

+ 2
- 2
robo View File

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

Loading…
Cancel
Save