From 365bf54972ad02f16712e9a8b8b95c297b532a1b Mon Sep 17 00:00:00 2001 From: maride Date: Sun, 30 Jul 2017 23:54:25 +0200 Subject: [PATCH] Revert "Don't source script output" This reverts commit 730c53263f0ebc6bc4d325ee49d9a3f8e0880749. --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index fc0c8a5..72e5026 100755 --- a/install.sh +++ b/install.sh @@ -26,7 +26,7 @@ read blockdevice for check in checks/*.check do echo "=> Running check '$check'..." - . $check + $($check) return=$? if [ "$return" -ne 0 ]; then echo "=> Check failed. Fix it, maybe." @@ -37,7 +37,7 @@ done for step in steps/*.step do echo "=> Running step '$step'..." - . $step + $($step) return=$? if [ "$return" -ne 0 ]; then echo "=> Step failed. That is weird. Sorry. Check logs maybe."