Parcourir la source

fbt: more fixes for windows environment #2011

hedger il y a 3 ans
Parent
commit
41de5f3c52
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      scripts/toolchain/fbtenv.cmd

+ 2 - 2
scripts/toolchain/fbtenv.cmd

@@ -1,6 +1,6 @@
 @echo off
 @echo off
 
 
-if not [%FBT_ROOT%] == [] (
+if not ["%FBT_ROOT%"] == [""] (
     goto already_set
     goto already_set
 )
 )
 
 
@@ -9,7 +9,7 @@ pushd "%FBT_ROOT%"
 set "FBT_ROOT=%cd%"
 set "FBT_ROOT=%cd%"
 popd
 popd
 
 
-if not [%FBT_NOENV%] == [] (
+if not ["%FBT_NOENV%"] == [""] (
     exit /b 0
     exit /b 0
 )
 )