summaryrefslogtreecommitdiff
path: root/xmake/actions/update/main.lua
diff options
context:
space:
mode:
authorwanzzhehe <[email protected]>2024-05-15 15:13:50 +0800
committerwanzzhehe <[email protected]>2024-05-15 15:13:50 +0800
commitc98080e93f0005d3d4f00a22df8633afe2051c85 (patch)
treef26233b76d5a9a6e9f43e6a65b19e00ae45bc4a9 /xmake/actions/update/main.lua
parent304943e79b6e2c67d2c010f053d8cd2a42460ddd (diff)
Fix repeat add XMAKE_ROOTDIR to PATH in Linux
Diffstat (limited to 'xmake/actions/update/main.lua')
-rw-r--r--xmake/actions/update/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua
index 43ef974a5..f97df2291 100644
--- a/xmake/actions/update/main.lua
+++ b/xmake/actions/update/main.lua
@@ -318,7 +318,7 @@ function _initialize_shell()
local profile_fish = "$XMAKE_PROGRAM_DIR/scripts/profile-unix.fish"
local bridge_command = format([[export XMAKE_ROOTDIR="%s"
export XMAKE_PROGRAM_DIR="%s"
-export PATH="$XMAKE_ROOTDIR:$PATH"
+# export PATH="$XMAKE_ROOTDIR:$PATH"
test $FISH_VERSION && test -f "%s" && source "%s" && exit 0
test -f "%s" && source "%s"
]], path.directory(os.programfile()), os.programdir(), profile_fish, profile_fish, profile, profile)