summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-26 22:57:16 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-26 22:57:16 +0200
commit2d041084a0e2e28438b7527a07d445c9ccbf0080 (patch)
tree4c0a2647ce1a1c84ee07330cd76ff9d21d74bb32
parente129f0ade4b9ed90826aebab7028defbf0bbd719 (diff)
bin/pkg: oops
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index c5748e4..2502e39 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -92,7 +92,7 @@ pkg_remove () {
pkg_update () {
cd $PDIR/$1
- if (NEW=$VCS_CMD $VCS_OPTIONS $VCS_INCOMING) {
+ if (NEW=$($VCS_CMD $VCS_OPTIONS $VCS_INCOMING)) {
info "Updating package $1 to $NEW"
$VCS_CMD $VCS_OPTIONS $VCS_UPDATE $VCS_UPDATE_OPTIONS
checklinks $CL_OPTIONS