diff options
| author | ruki <[email protected]> | 2017-06-06 22:37:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-06-06 22:37:10 +0800 |
| commit | 8aceb2b14e224cf3ed28ab6cd326b32897135b68 (patch) | |
| tree | 5b151e33001ef660dd1a06b2dee236837d2aa709 /scripts | |
| parent | 2309c5ec03eb09842814bcf03fffa8fa93999acf (diff) | |
improve get.sh to install local
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index 00e3831f7..6e417b98c 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -114,7 +114,7 @@ then cd - || my_exit 'Chdir Error' fi else - cp -r "$(git rev-parse --show-toplevel 2>/dev/null || echo thisshouldnotbeafilename)" $tmpdir || my_exit "$(echo -e 'Clone Fail\nLocal repo might be not found')" + tmpdir=`pwd` fi if [ 'x__install_only__' != "x$2" ] then |
