aboutsummaryrefslogtreecommitdiffhomepage
path: root/installer.sh
diff options
context:
space:
mode:
authorSpacelord <Spacelord09@users.noreply.github.com>2019-12-07 16:36:09 +0100
committerSpacelord <Spacelord09@users.noreply.github.com>2019-12-07 16:36:09 +0100
commit95eac9cccb2cba39446f83e8803565f018fa411b (patch)
tree45976e61667cf6740d7e25a84d76f5b1a4fba37c /installer.sh
parent2fb3801be65cd98a6069f503897da93033b5049e (diff)
downloadmidimonster-95eac9cccb2cba39446f83e8803565f018fa411b.tar.gz
midimonster-95eac9cccb2cba39446f83e8803565f018fa411b.tar.bz2
midimonster-95eac9cccb2cba39446f83e8803565f018fa411b.zip
Git checkout fix (again)
Diffstat (limited to 'installer.sh')
-rwxr-xr-xinstaller.sh6
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