diff --git a/build-soft-stable.sh b/build-soft-stable.sh index 8c0e8c5..340bfaf 100755 --- a/build-soft-stable.sh +++ b/build-soft-stable.sh @@ -50,7 +50,8 @@ sudo make install || { echo "Stellarsolver failed"; exit 1; } cd "$ROOTDIR" [ ! -d "kstars" ] && git clone https://invent.kde.org/education/kstars.git cd kstars -git checkout +git fetch origin +git checkout $KSTARS_COMMIT [ ! -d ../build-kstars ] && { cmake -B ../build-kstars -DBUILD_TESTING=Off ../kstars -DCMAKE_BUILD_TYPE=Release || { echo "KStars failed"; exit 1; } } cd ../build-kstars make -j 4 || { echo "KStars failed"; exit 1; }