From: rysiek Date: Fri, 3 Nov 2017 12:37:41 +0000 (-0200) Subject: another find usage fixed on *BSD X-Git-Tag: 0.5.2~7 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1895a47f2bdf4064787b57b5a68d6b3656a620d0;p=keyringer.git another find usage fixed on *BSD --- diff --git a/lib/keyringer/actions/find b/lib/keyringer/actions/find index 043e80d..45b4f11 100755 --- a/lib/keyringer/actions/find +++ b/lib/keyringer/actions/find @@ -15,5 +15,5 @@ shift ARGS="`echo "$*" | sed -e "s|^/*||"`" # Run find command -cd "$KEYDIR/$RELATIVE_PATH" && find | grep -i "$ARGS" | sed -e 's|^./||g' +cd "$KEYDIR/$RELATIVE_PATH" && find ./ | grep -i "$ARGS" | sed -e 's|^./||g' cd "$CWD"