summaryrefslogtreecommitdiff
path: root/xmake/modules/private/service/start_service.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-15 21:06:08 +0800
committerruki <[email protected]>2022-04-15 21:06:08 +0800
commit0db2b97ec84fb3d003b0e07ef7c731531268c083 (patch)
tree800f92b72da585f3a00c79afd273a31aa6b4c61e /xmake/modules/private/service/start_service.lua
parent5dd92af81d60661526a006f989836d37c2b64d74 (diff)
improve envs
Diffstat (limited to 'xmake/modules/private/service/start_service.lua')
-rw-r--r--xmake/modules/private/service/start_service.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/private/service/start_service.lua b/xmake/modules/private/service/start_service.lua
index f02b7f222..0488ba705 100644
--- a/xmake/modules/private/service/start_service.lua
+++ b/xmake/modules/private/service/start_service.lua
@@ -22,9 +22,11 @@
import("core.base.option")
import("private.service.config")
import("private.service.service")
+import("private.action.require.impl.packagenv")
function main(opt)
opt = opt or {}
+ packagenv.enter("git")
if opt.daemon then
local argv = {"lua"}
if option.get("verbose") then