summaryrefslogtreecommitdiff
path: root/package/base-files/extra/sbin/update
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-19 21:02:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-19 21:02:57 +0100
commit69a374abb905573dc63f18a37dc7378ae5e9627c (patch)
tree1f1a7b4ec7c1bd42b04c9039179b434e1f1811fd /package/base-files/extra/sbin/update
parenta2c0f0b4fb853a9cec69452a6f6324963492e863 (diff)
parent5f155a30e5fc92d97ba0cf41b4b41abdd161ef1e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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
}