diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-01 20:48:17 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-01 20:48:17 +0200 |
commit | 251603dba0e07ad807a75be0523e5573e0eb1eab (patch) | |
tree | d21bb3ba0bdfe1fbfb0f823c0afe398e9dd67891 /bin/pkg | |
parent | ee2003cbd0cb8159aa968c2cfaeaba211038c810 (diff) |
bin/pkg: Fixed a broken sed expression
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |