aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsanmiguel <[email protected]>2017-02-05 23:38:08 +0100
committersanmiguel <[email protected]>2017-02-05 23:38:08 +0100
commitdafa9c5a8ac9fbd7705b2c6885f282bff6d9c9a0 (patch)
tree0333a95c852cef4d0dec7d9f4731d96cd0ee9301
parent5e3b06faa3fdaa18861748fa27361e3c22ac1ec0 (diff)
downloadkerl-mtc-fix-read-kerl-config-storage-filename.tar.gz
kerl-mtc-fix-read-kerl-config-storage-filename.tar.bz2
kerl-mtc-fix-read-kerl-config-storage-filename.zip
Fix syntax for fetching old summtc-fix-read-kerl-config-storage-filename
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
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