From 1ad44e3c5f43bd9ed5516de58f0bb15d7c7da075 Mon Sep 17 00:00:00 2001 From: Mark Allen Date: Tue, 21 Feb 2017 13:19:05 -0600 Subject: Use string not-equal instead of integer not-equal --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerl b/kerl index d053bd9..e00c498 100755 --- a/kerl +++ b/kerl @@ -589,7 +589,7 @@ _do_build() if [ -e "./$KERL_CONFIG_STORAGE_FILENAME.md5" ]; then # Compare our current options to the saved ones OLD_SUM=$(read -r < "./$KERL_CONFIG_STORAGE_FILENAME.md5") - if [ "$SUM" -ne "$OLD_SUM" ]; then + if [ "$SUM" != "$OLD_SUM" ]; then echo "Configure options have changed. Reconfiguring..." rm -f configure mv "$TMPOPT" "./$KERL_CONFIG_STORAGE_FILENAME" -- cgit v1.2.3