summaryrefslogtreecommitdiff
path: root/package/base-files/extra/sbin/update
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-16 11:05:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-16 11:05:50 +0100
commitecd64118a33c62d0ca1333b47c320ad0ef4f15dc (patch)
treeb26ec9a44fcb9eb3df6b5c3d536000478b8d213f /package/base-files/extra/sbin/update
parent703680b7a22650299ab4a4da2ac63283f4568ab4 (diff)
i need to use eval, fix broken update script
Diffstat (limited to 'package/base-files/extra/sbin/update')
-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
}