summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
Diffstat (limited to 'update-me.in')
-rw-r--r--update-me.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/update-me.in b/update-me.in
index cae73f9..2346122 100644
--- a/update-me.in
+++ b/update-me.in
@@ -65,9 +65,9 @@ for cmd in "${preCmds[@]}"
do
if [ -z "${cmd%%check-kernel*}" ] \
|| [ -z "${cmd%%mount*}" ]; then
- ${pre} ${cmd}
+ eval ${pre} ${cmd}
else
- ${cmd}
+ eval ${cmd}
fi
err=$?
if [ ${err} -ne 0 ]
@@ -80,7 +80,7 @@ done
for cmd in "${cmds[@]}"
do
- ${pre} ${cmd}
+ eval ${pre} ${cmd}
err=$?
if [ ${err} -ne 0 ]
then
@@ -94,9 +94,9 @@ for cmd in "${postCmds[@]}"
do
if [ -z "${cmd%%check-kernel*}" ] \
|| [ -z "${cmd%%mount*}" ]; then
- ${pre} ${cmd}
+ eval ${pre} ${cmd}
else
- ${cmd}
+ eval ${cmd}
fi
err=$?
if [ ${err} -ne 0 ]