summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-01 20:48:17 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-01 20:48:17 +0200
commit251603dba0e07ad807a75be0523e5573e0eb1eab (patch)
treed21bb3ba0bdfe1fbfb0f823c0afe398e9dd67891 /bin/pkg
parentee2003cbd0cb8159aa968c2cfaeaba211038c810 (diff)
bin/pkg: Fixed a broken sed expression
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 1af442b..24e6a78 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