buildSDK/less-bootstrap-compiler.php
authorEdward <edward@roojs.com>
Thu, 2 Aug 2018 05:39:25 +0000 (13:39 +0800)
committerEdward <edward@roojs.com>
Thu, 2 Aug 2018 05:39:25 +0000 (13:39 +0800)
buildSDK/less-bootstrap-compiler.php

index 3ab30a4..cbbe230 100644 (file)
@@ -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;
 }