summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-21 22:18:16 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-21 22:18:16 +0200
commit0afd88a06a0deb343578b77490482b24f1a64ba2 (patch)
tree2309226e313fb3be13e7837eac301f020a03c07f
parent2a068c3de7f63ade2ea5249c784878a9da5126d6 (diff)
bin/pkg: oops
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index b11c1c4..9d3c711 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -103,7 +103,7 @@ pkg_list_installed () {
}
pkg_list_available () {
- if grep "^ssh" "$PKG_ROOT" &> /dev/null; then
+ if grep "^ssh" <<< "$PKG_ROOT" &> /dev/null; then
ssh $(sed 's!^ssh://!!' <<< "$PKG_ROOT" | sed -r 's!^([^/]*)/.*$!\1!') 'ls -1'
fi
}