Skip to content

Commit df71505

Browse files
committed
Checking for version 7.4
1 parent 2b09b0e commit df71505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/install-password-argon2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ popd
2727

2828

2929
# add the option in custom_configure_options
30-
if [[ ! $VERSION =~ ^master$ ]] && [[ "$(printf "7.4\n$VERSION" | sort -V | head -n1)" < "7.4" ]]; then
30+
if [[ ! $VERSION == *"7.4"* ]] || [[ "$(printf "7.4\n$VERSION" | sort -V | head -n1)" < "7.4" ]]; then
3131
echo "--with-password-argon2=$LIBARGON2_INSTALL_DIR" >> $TRAVIS_BUILD_DIR/custom_configure_options
3232
else
3333
echo "--with-password-argon2" >> $TRAVIS_BUILD_DIR/custom_configure_options

0 commit comments

Comments
 (0)