summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-25 13:26:50 +0800
committerruki <[email protected]>2017-05-25 13:26:50 +0800
commitf39253df1fe3545529c60ae857dad37cea166918 (patch)
tree2e77ee059fe179577fef21ac46d64a8965c2461a
parent0c98817adb9e37ba3ca9e1c276e52f297976ea53 (diff)
improve get.sh to easy copy command and modify docs
-rw-r--r--docs/README.md2
-rw-r--r--docs/zh/README.md2
-rwxr-xr-xscripts/get.sh3
3 files changed, 4 insertions, 3 deletions
diff --git a/docs/README.md b/docs/README.md
index 815607ef3..24857daa2 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -88,7 +88,7 @@ Or download deb package to install it:
```bash
$ git clone [email protected]:waruqi/xmake.git
$ cd ./xmake
-$ make build; sudo make install [prefix=/usr/local]
+$ ./scripts/get.sh __local__
```
## Quick Start
diff --git a/docs/zh/README.md b/docs/zh/README.md
index c40f03f8e..972ac8476 100644
--- a/docs/zh/README.md
+++ b/docs/zh/README.md
@@ -116,7 +116,7 @@ $ sudo apt-get install xmake
```bash
$ git clone [email protected]:waruqi/xmake.git
$ cd ./xmake
-$ make build; sudo make install [prefix=/usr/local]
+$ ./scripts/get.sh __local__
```
## 快速开始
diff --git a/scripts/get.sh b/scripts/get.sh
index f4c605bdc..cf07e291d 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -135,5 +135,6 @@ xmake --version >/dev/null 2>&1 && xmake --version || {
echo "export PATH=$prefix/bin:\$PATH" >> $(shell_profile)
export PATH=$prefix/bin:$PATH
xmake --version
- echo -e "Reload shell profile by running \x1b[1msource '$(shell_profile)'\x1b[0m now!"
+ echo "Reload shell profile by running the following command now!"
+ echo -e "\x1b[1msource '$(shell_profile)'\x1b[0m"
}