diff options
| -rwxr-xr-x | docs/get.sh | 2 | ||||
| -rwxr-xr-x | scripts/get.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/get.sh b/docs/get.sh index 00e3831f7..6e417b98c 100755 --- a/docs/get.sh +++ b/docs/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 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 |
