aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorsanmiguel <[email protected]>2017-02-22 11:46:13 +0100
committerGitHub <[email protected]>2017-02-22 11:46:13 +0100
commit825632024b6bcbe2ee08f3c7a23653a8cd859e92 (patch)
tree9375703a6bd64cb71a23fd937235d346106bf49f /kerl
parent485323434eb3992dacb6442177a7d848b82af113 (diff)
parent1ad44e3c5f43bd9ed5516de58f0bb15d7c7da075 (diff)
downloadkerl-825632024b6bcbe2ee08f3c7a23653a8cd859e92.tar.gz
kerl-825632024b6bcbe2ee08f3c7a23653a8cd859e92.tar.bz2
kerl-825632024b6bcbe2ee08f3c7a23653a8cd859e92.zip
Merge pull request #191 from kerl/bugfix2
Use string not-equal instead of integer not-equal
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
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"