summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-06 22:37:10 +0800
committerruki <[email protected]>2017-06-06 22:37:10 +0800
commit8aceb2b14e224cf3ed28ab6cd326b32897135b68 (patch)
tree5b151e33001ef660dd1a06b2dee236837d2aa709 /scripts
parent2309c5ec03eb09842814bcf03fffa8fa93999acf (diff)
improve get.sh to install local
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 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