From 251603dba0e07ad807a75be0523e5573e0eb1eab Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 1 Jul 2008 20:48:17 +0200 Subject: bin/pkg: Fixed a broken sed expression --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/pkg') 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 -- cgit v1.2.3