aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSpacelord <Spacelord09@users.noreply.github.com>2019-12-07 17:40:35 +0100
committerSpacelord <Spacelord09@users.noreply.github.com>2019-12-07 17:40:35 +0100
commitc038fee6bd4888749691299456f8e95611677e43 (patch)
tree14078b0202b59a5316eb3a5bf0ac65fa96f43a53
parent2e1c2f63ef728027ebb8183599a4ebba734c8a04 (diff)
downloadmidimonster-c038fee6bd4888749691299456f8e95611677e43.tar.gz
midimonster-c038fee6bd4888749691299456f8e95611677e43.tar.bz2
midimonster-c038fee6bd4888749691299456f8e95611677e43.zip
git checkout bug fix..
-rwxr-xr-xinstaller.sh33
1 files changed, 29 insertions, 4 deletions
diff --git a/installer.sh b/installer.sh
index dab1afc..fc544f6 100755
--- a/installer.sh
+++ b/installer.sh
@@ -7,7 +7,7 @@ user=$(whoami) # for bypassing user check replace "$(whoami)" w
script_path="`cd $0; pwd`" # Script dir
tmp_path=$(mktemp -d) # Repo download path
-Iversion="v0.2" # (fallback version if )
+Iversion="TEST!" # (fallback version if )
makeargs=all # Build args
VAR_DESTDIR="" # Unused
@@ -38,10 +38,35 @@ echo ""
INSTALL-PREP () {
echo "Starting Git!"
git clone https://github.com/cbdevnet/midimonster.git "$tmp_path" # Gets Midimonster
- Iversion=(git describe --abbrev=0) # Get last tag(stable version)
- echo "Starting Git checkout to "$Iversion""
+
+(
+ echo ""
+ echo ""
+ cd $tmp_path
+ echo "IVer.: $Iversion"
+
+ echo "Start GIT INIT"
git init $tmp_path
- (cd $tmp_path; git checkout $Iversion)
+
+ echo "IVer.: $Iversion VOR GIT DESCRIBE!"
+ echo ""
+
+
+ echo "Starting git describe.."
+ Iversion=$(git describe --abbrev=0) # Get last tag(stable version)
+ echo "IVer.: $Iversion NACH GIT DESCRIBE!"
+
+ echo ""
+
+
+ echo "Starting Git checkout to "$Iversion""
+ git checkout $Iversion
+ )
+ echo ""
+ echo "Done. (Iver.: $Iversion)"
+
+
+
echo ""
read -e -i "$VAR_PREFIX" -p "PREFIX (Install root directory): " input # Reads VAR_PREFIX