From 2d041084a0e2e28438b7527a07d445c9ccbf0080 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 26 May 2008 22:57:16 +0200 Subject: bin/pkg: oops --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3