Skip to content

Commit 1c57717

Browse files
author
arch
committed
update installer
1 parent 68e0b6d commit 1c57717

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

contrib/OpenFunscripter/openfunscripter_setup_linux.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ if [ -d $OFS_DIR ]; then
3434
echo ">> OpenFunscripter Source already downloaded (Updating...)"
3535
pushd $OFS_DIR
3636
git pull
37-
git submodule update
37+
git submodule update --init
38+
pushd $OFS_DIR/lib/EASTL
39+
git submodule update --init
40+
popd
3841
else
3942
mkdir -p `dirname $OFS_DIR`
4043
echo ">> Clone OpenFunscripter Source"
@@ -47,6 +50,18 @@ else
4750
echo ">> OpenFunscripter Source downloaded to $OFS_DIR"
4851
fi
4952

53+
if [ "$arg1" != "--latest" ]; then
54+
echo "Checkout latest OpenFunscripter release"
55+
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
56+
# git checkout 1.4.4
57+
git submodule update --init
58+
pushd $OFS_DIR/lib/EASTL
59+
git submodule update --init
60+
popd
61+
else
62+
echo "Use latest git commit (only for developers!)"
63+
fi
64+
5065
echo ">> Build OFS"
5166
rm -rf build
5267
mkdir -p build

0 commit comments

Comments
 (0)