ruki 6 anni fa
parent
commit
5c99c0eda6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/s/skia/xmake.lua

+ 1 - 1
packages/s/skia/xmake.lua

@@ -12,7 +12,7 @@ package("skia")
 
 
     on_install("macosx", "linux", "windows", function (package)
     on_install("macosx", "linux", "windows", function (package)
         os.vrun("git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git --depth 1")
         os.vrun("git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git --depth 1")
-        local pathes = os.getenv("PATH")
+        local pathes = os.getenv("PATH") or ""
         pathes = pathes .. path.envsep() .. path.join(os.curdir(), "depot_tools")
         pathes = pathes .. path.envsep() .. path.join(os.curdir(), "depot_tools")
         pathes = pathes .. path.envsep() .. path.join(os.curdir(), "bin")
         pathes = pathes .. path.envsep() .. path.join(os.curdir(), "bin")
         local args = {is_official_build = true, is_debug = package:debug()}
         local args = {is_official_build = true, is_debug = package:debug()}