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:
parent
9ebaa20633
commit
f51d20a863
2 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
|
4
robo
4
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
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue