diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-28 20:02:52 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-28 20:02:52 +0200 |
commit | 08f544950aa50dbd02f22286ba2a562ba6c8267d (patch) | |
tree | 5a193642dcd1bee80f07ab097a011e06f650ae59 | |
parent | 3a0c5a01338ecbdaca2ca8ca7db7974cd7f60436 (diff) |
don't use <<< as it breaks vims zsh syntax-highlighting
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -142,8 +142,8 @@ pkg_list_installed () { } pkg_list_available () { - if (grep "^ssh" <<< "$PKG_ROOT" &> /dev/null) { - ssh -q $(sed 's!^ssh://!!' <<< "$PKG_ROOT" | sed -r 's!^([^/]*)/.*$!\1!') 'ls -1 packages' + if (echo "$PKG_ROOT" | grep "^ssh" &> /dev/null) { + ssh -q $(echo "$PKG_ROOT" | sed 's!^ssh://!!' | sed -r 's!^([^/]*)/.*$!\1!') 'ls -1 packages' } } |