summaryrefslogtreecommitdiff
path: root/bin/ct
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ct')
-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