summaryrefslogtreecommitdiff
path: root/package/base-files/extra
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/extra')
-rwxr-xr-xpackage/base-files/extra/sbin/update6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/extra/sbin/update b/package/base-files/extra/sbin/update
index c51962f5b..d41e23a0f 100755
--- a/package/base-files/extra/sbin/update
+++ b/package/base-files/extra/sbin/update
@@ -27,19 +27,19 @@ prepare() {
extract_from_file() {
prepare
- cat $1 | $updatecmd
+ cat $1 | eval $updatecmd
check_exit
}
extract_from_ssh() {
prepare
- ssh $1 "cat $2" | $updatecmd
+ ssh $1 "cat $2" | eval $updatecmd
check_exit
}
extract_from_http() {
prepare
- wget -O - $1 | $updatecmd
+ wget -O - $1 | eval $updatecmd
check_exit
}