From: Edward Date: Thu, 2 Aug 2018 05:39:25 +0000 (+0800) Subject: buildSDK/less-bootstrap-compiler.php X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=3dd58af1b863bdb415b52db4559c70c35c9404c5 buildSDK/less-bootstrap-compiler.php --- diff --git a/buildSDK/less-bootstrap-compiler.php b/buildSDK/less-bootstrap-compiler.php index 3ab30a49a9..cbbe230152 100644 --- a/buildSDK/less-bootstrap-compiler.php +++ b/buildSDK/less-bootstrap-compiler.php @@ -2,7 +2,8 @@ $cwd = getcwd(); -if (array_pop(explode('/', $cwd)) !== 'roojs1') { +$cc = explode('/', $cwd); +if (array_pop($cc) !== 'roojs1') { echo "this should be run in roojs1 directory...\n"; exit; }