summaryrefslogtreecommitdiff
path: root/package/base-files/extra/sbin/update
diff options
context:
space:
mode:
authorwaldemar brodkorb <wbx@debian-lenny-amd64.foo.bar>2010-01-19 21:14:16 +0100
committerwaldemar brodkorb <wbx@debian-lenny-amd64.foo.bar>2010-01-19 21:14:16 +0100
commitdd181acc1ac0c1e7dc9db85da30bd8522a95773d (patch)
tree08396068cfd74178f725d4b096a321d54ae8a53e /package/base-files/extra/sbin/update
parentfc4027a2b4f5a9384e8552b8dd515e53aae9444c (diff)
parenta903c4fefdc19bb838e808146c6aa1a32296e4cb (diff)
Merge branch 'master' of git+ssh://wbx@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
}