summaryrefslogtreecommitdiff
path: root/scripts/get.sh
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-19 13:55:29 +0800
committerOpportunityLiu <[email protected]>2019-07-19 13:55:29 +0800
commitff0595d384a9b4e7656e0c44f327f7614e2a8fd6 (patch)
tree4e27349474f1c0b485b97607e8c54aaef8ec2394 /scripts/get.sh
parentf5e728f9e3e9dc829a87b62b4025cf2259576878 (diff)
improve scripts
Diffstat (limited to 'scripts/get.sh')
-rwxr-xr-xscripts/get.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index 8e1afdf74..406f952bc 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# xmake getter
# usage: bash <(curl -s <my location>) [[mirror:]branch] [commit/__install_only__]
@@ -183,7 +183,7 @@ fi
if [[ "$SHELL" = */zsh ]]; then write_profile ~/.zshrc
elif [[ "$SHELL" = */ksh ]]; then write_profile ~/.kshrc
elif [[ "$SHELL" = */bash ]]; then write_profile ~/.bashrc
- else write_profile ~/.bash_profile
+ else write_profile ~/.profile
fi
}