diff options
author | Spacelord <Spacelord09@users.noreply.github.com> | 2019-12-07 16:36:09 +0100 |
---|---|---|
committer | Spacelord <Spacelord09@users.noreply.github.com> | 2019-12-07 16:36:09 +0100 |
commit | 95eac9cccb2cba39446f83e8803565f018fa411b (patch) | |
tree | 45976e61667cf6740d7e25a84d76f5b1a4fba37c | |
parent | 2fb3801be65cd98a6069f503897da93033b5049e (diff) | |
download | midimonster-95eac9cccb2cba39446f83e8803565f018fa411b.tar.gz midimonster-95eac9cccb2cba39446f83e8803565f018fa411b.tar.bz2 midimonster-95eac9cccb2cba39446f83e8803565f018fa411b.zip |
Git checkout fix (again)
-rwxr-xr-x | installer.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/installer.sh b/installer.sh index 1a6301c..ae6518e 100755 --- a/installer.sh +++ b/installer.sh @@ -41,8 +41,10 @@ INSTALL-PREP () { Iversion=(git describe --abbrev=0) # Get last tag(stable version) echo "Starting Git checkout to "$Iversion"" git init $tmp_path - git checkout $Iversion $tmp_path - + ( + cd $tmp_path + git checkout $Iversion $tmp_path + ) echo "" read -e -i "$VAR_PREFIX" -p "PREFIX (Install root directory): " input # Reads VAR_PREFIX |