Branimir Karadžić %!s(int64=9) %!d(string=hai) anos
pai
achega
e2ad6eea41
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      scripts/toolchain.lua

+ 3 - 1
scripts/toolchain.lua

@@ -100,7 +100,9 @@ function toolchain(_buildDir, _libDir)
 	location (path.join(_buildDir, "projects", _ACTION))
 	location (path.join(_buildDir, "projects", _ACTION))
 
 
 	if _ACTION == "clean" then
 	if _ACTION == "clean" then
-		os.rmdir(BUILD_DIR)
+		os.rmdir(_buildDir)
+		os.mkdir(_buildDir)
+		os.exit(1)
 	end
 	end
 
 
 	local androidPlatform = "android-14"
 	local androidPlatform = "android-14"