summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}