From dafa9c5a8ac9fbd7705b2c6885f282bff6d9c9a0 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 5 Feb 2017 23:38:08 +0100 Subject: Fix syntax for fetching old sum --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerl b/kerl index 090021d..db17d4a 100755 --- a/kerl +++ b/kerl @@ -588,7 +588,7 @@ _do_build() # Check for a .kerl_config.md5 file 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" + OLD_SUM=$(read -r < "./$KERL_CONFIG_STORAGE_FILENAME.md5") if [ "$SUM" -ne "$OLD_SUM" ]; then echo "Configure options have changed. Reconfiguring..." rm -f configure -- cgit v1.2.3