summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorxq114 <[email protected]>2021-08-24 23:46:40 +0800
committerxq114 <[email protected]>2021-08-24 23:46:40 +0800
commit65cd1d83d3f61415607b8976e7b5c215b67e42a8 (patch)
tree174eb58ec47cf6c5e828ea95800d795ca51d0625 /scripts
parent34241bb3d8a1dec0ead81316473e505eb2e5f713 (diff)
fix typo
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index 76d329116..f64ff8041 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -227,7 +227,7 @@ write_profile()
install_profile()
{
if [ ! -d ~/.xmake ]; then mkdir ~/.xmake; fi
- echo "export XMAKE_ROOTDIR=\"$prefix/bin\"\n" > ~/.xmake/profile
+ echo "export XMAKE_ROOTDIR=\"$prefix/bin\"" > ~/.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