summaryrefslogtreecommitdiff
path: root/4store-install
diff options
context:
space:
mode:
Diffstat (limited to '4store-install')
-rwxr-xr-x4store-install5
1 files changed, 2 insertions, 3 deletions
diff --git a/4store-install b/4store-install
index a6a02a3..c910e52 100755
--- a/4store-install
+++ b/4store-install
@@ -14,9 +14,8 @@ check_utils "git make tar wget"
# Build
cd $OT_PREFIX/tmp/
-cmd="$WGET $FOUR_STORE_DWL" && run_cmd "$cmd" "Download"
-cmd="$TAR -xzvf $FOUR_STORE_VER.tar.gz" && run_cmd "$cmd" "Unzip"
-mv $OT_PREFIX/tmp/$FOUR_STORE_VER $OT_PREFIX/tmp/$SELF
+([ -d $SELF ] && cd $SELF && cmd="$GIT pull" && run_cmd "$cmd" "Git pull") || (cmd="$GIT clone https://github.com/garlik/$SELF" && run_cmd "$cmd" "Git clone")
+cmd="$GIT checkout -b ist c3d8593c39dc04a39e272f729e486c1576f6aeba" && run_cmd "$cmd" "checkout to particular commit"
cd $SELF
cmd="./autogen.sh" && run_cmd "$cmd" "Autogen"
export FST=$OT_PREFIX/4S