aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSpacelord <Spacelord09@users.noreply.github.com>2019-12-07 16:41:44 +0100
committerSpacelord <Spacelord09@users.noreply.github.com>2019-12-07 16:41:44 +0100
commit2e1c2f63ef728027ebb8183599a4ebba734c8a04 (patch)
tree226c1e6f6dcae68e445391255dc4e328a47f4927
parent95eac9cccb2cba39446f83e8803565f018fa411b (diff)
downloadmidimonster-2e1c2f63ef728027ebb8183599a4ebba734c8a04.tar.gz
midimonster-2e1c2f63ef728027ebb8183599a4ebba734c8a04.tar.bz2
midimonster-2e1c2f63ef728027ebb8183599a4ebba734c8a04.zip
checkout fix again (bugfix)
-rwxr-xr-xinstaller.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/installer.sh b/installer.sh
index ae6518e..dab1afc 100755
--- a/installer.sh
+++ b/installer.sh
@@ -41,10 +41,7 @@ INSTALL-PREP () {
Iversion=(git describe --abbrev=0) # Get last tag(stable version)
echo "Starting Git checkout to "$Iversion""
git init $tmp_path
- (
- cd $tmp_path
- git checkout $Iversion $tmp_path
- )
+ (cd $tmp_path; git checkout $Iversion)
echo ""
read -e -i "$VAR_PREFIX" -p "PREFIX (Install root directory): " input # Reads VAR_PREFIX