summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-12 10:41:08 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-12 10:41:18 +0200
commit56d4b7b0a6756e87495158420b1d51cfd8494a7c (patch)
tree654c1b8a2ab88bef24b46dd9bb7f1c35f0bdad67 /bin
parenta5a94e89dab244852dec36d10a8b35083f9b62c3 (diff)
ct: list_update_remote: pkglist does not care about PKG_DIR
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ct3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ct b/bin/ct
index bf770f4..1cfaced 100755
--- a/bin/ct
+++ b/bin/ct
@@ -354,11 +354,10 @@ function list_type_local {
function list_update_remote {
typeset tmpfile=$(mktemp -t pkglist.XXXXXX)
typeset -i ret=0
- export PKG_DIR
if [[ $PKGLIST_LOCAL == 1 || $PKG_PROTO == 'file' ]] {
$PKGLIST_PATH $PKG_PATH > $tmpfile
} elif [[ $PKG_PROTO == 'ssh' ]] {
- ssh $PKG_USER@$PKG_HOST "PKG_DIR='$PKG_DIR' $PKGLIST_PATH $PKG_PATH" > $tmpfile
+ ssh $PKG_USER@$PKG_HOST "$PKGLIST_PATH $PKG_PATH" > $tmpfile
}
if [[ -n $(cat $tmpfile) ]] {
cp $tmpfile .list-remote