From 3dd58af1b863bdb415b52db4559c70c35c9404c5 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 2 Aug 2018 13:39:25 +0800 Subject: [PATCH] buildSDK/less-bootstrap-compiler.php --- buildSDK/less-bootstrap-compiler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2