Skip to content

Commit 003bc7a

Browse files
committed
Fix bash syntax
1 parent 6195a7e commit 003bc7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/install-libsodium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ make install
2121
popd
2222

2323
# add the option in custom_configure_options
24-
if [[ $VERSION =~ ^master$ ]] || [[ "$(printf "7.4\n$VERSION" | sort -V | head -n1)" >= "7.4" ]]; then
24+
if [[ $VERSION =~ ^master$ ]] || [[ "$(printf "7.4\n$VERSION" | sort -V | head -n1)" > "7.3.9999999999" ]]; then
2525
echo "--with-sodium=$LIBSODIUM_INSTALL_DIR" >> $TRAVIS_BUILD_DIR/custom_configure_options
2626
else
2727
echo "--with-libsodium=$LIBSODIUM_INSTALL_DIR" >> $TRAVIS_BUILD_DIR/custom_configure_options

0 commit comments

Comments
 (0)