summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-10 06:57:21 +0100
committerErich Eckner <git@eckner.net>2020-02-10 06:57:21 +0100
commit3ea9e9f4144a5c374df3f72bab839368eccaf99b (patch)
treebca86a19f3fc06c6a5e67a8c403a0709bac37eae /update-me.in
parent10c8c7b5bf75328fd6e8014349af4f020f6388c9 (diff)
downloadupdate-all-3ea9e9f4144a5c374df3f72bab839368eccaf99b.tar.xz
update-me: use eval
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 ]