diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-12 10:41:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-12 10:41:18 +0200 |
commit | 56d4b7b0a6756e87495158420b1d51cfd8494a7c (patch) | |
tree | 654c1b8a2ab88bef24b46dd9bb7f1c35f0bdad67 /bin | |
parent | a5a94e89dab244852dec36d10a8b35083f9b62c3 (diff) |
ct: list_update_remote: pkglist does not care about PKG_DIR
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ct | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |