summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-01 20:06:03 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-01 20:06:03 +0200
commita972ec332fc17310bf2ad1062ee2112592f853d9 (patch)
tree4f7bdbbbee1ae381347086ac24e327ad369077e0 /bin/pkg
parent23357941f949b134fdef61008bf330be11da6dd9 (diff)
bin/pkg: oops
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index e8e2dbe..c0e2cb8 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -77,7 +77,7 @@ if (echo "$PKG_ROOT" | grep "^ssh" &> /dev/null) {
# Host
if [[ "$PKG_PROTO" = "ssh" ]] {
- PKG_HOST=$(echo "$PKG_ROOT" | sed 's!^ssh://!!' | sed -r 's!^[[^/]*)/.*$!\1!')
+ PKG_HOST=$(echo "$PKG_ROOT" | sed 's!^ssh://!!' | sed -r 's!^[^/]*)/.*$!\1!')
}
# Remote path