diff options
| author | xq114 <[email protected]> | 2021-08-24 23:14:16 +0800 |
|---|---|---|
| committer | xq114 <[email protected]> | 2021-08-24 23:14:16 +0800 |
| commit | 34241bb3d8a1dec0ead81316473e505eb2e5f713 (patch) | |
| tree | 0b61a5f109e3db52e471b56ed3eef1b4496c2f4b /scripts | |
| parent | b54b0ba654bb8b230efff2bd709839cf32bfb87e (diff) | |
fix xmake not found issue
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index 060ee4e20..76d329116 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -227,8 +227,8 @@ write_profile() install_profile() { if [ ! -d ~/.xmake ]; then mkdir ~/.xmake; fi - echo "export XMAKE_ROOTDIR=\"$prefix/bin\"" > ~/.xmake/profile - echo "export PATH=\"${XMAKE_ROOTDIR}:$PATH\"" >> ~/.xmake/profile + echo "export XMAKE_ROOTDIR=\"$prefix/bin\"\n" > ~/.xmake/profile + echo 'export PATH="$XMAKE_ROOTDIR:$PATH"' >> ~/.xmake/profile if [ -f "$projectdir/scripts/register-completions.sh" ]; then cat "$projectdir/scripts/register-completions.sh" >> ~/.xmake/profile else |
