diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-07 00:03:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-07 00:03:08 +0200 |
commit | 341f8ee93c61e4e6b4b4fb0776e8a6023dcdb168 (patch) | |
tree | 88721b1de42ca9898ff2234a52d708a5c7c3dba3 /bin/pkg | |
parent | c5fd077ac48200023789059858efa35bdbf79674 (diff) |
bin/pkg: Fixed PKG_PATH for ssh
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ if ([ "$PKG_PROTO" = "ssh" ]) { # Remote path if ([ "$PKG_PROTO" = "ssh" ]) { - PKG_PATH=$(echo "$PKG_ROOT" | sed 's!^ssh://!!' | sed -r 's!^([^/]*)/.*$!\1!') + PKG_PATH=$(echo "$PKG_ROOT" | sed 's!^ssh://'"$PKG_HOST"'/!!') } elif ([ "$PKG_PROTO" = "file" ]) { PKG_PATH="$PKG_ROOT" } |