Skip to content

Commit

Permalink
build-deps: version check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Jul 21, 2022
1 parent 4aebfb5 commit cfdab21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for SUFFIX in $BUILD_SOURCES; do \
git clone "https://github.com/$SUFFIX"
cd "$NAME"
REF=$(git tag -l | grep -E "^v?[0-9]+(\.[0-9])*" | sort -t. -k 1.2,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1)
if [ "$VERSION" = "$STABLE" ] && [ -n "$REF" ]; then
if [ "$VERSION" = "stable" ] && [ -n "$REF" ]; then
git -c advice.detachedHead=false checkout "$REF"
fi
sh ./bootstrap.sh && ./configure --prefix "$PREFIX" && make && make install
Expand Down

0 comments on commit cfdab21

Please sign in to comment.