diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-20 00:22:03 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-20 00:22:03 -0300 |
commit | 0fba4b17d2c76784f99de0182d175b2d37f07638 (patch) | |
tree | c88e51440f8744234596f638e46d8c27f99d11e3 /lib/keyringer/actions/find | |
parent | 04b03dd14a0abe02f436f86e3d647f97b3e5522b (diff) | |
download | keyringer-0fba4b17d2c76784f99de0182d175b2d37f07638.tar.gz keyringer-0fba4b17d2c76784f99de0182d175b2d37f07638.tar.bz2 |
Try to find a similar file at keyringer_get_file()
Diffstat (limited to 'lib/keyringer/actions/find')
-rwxr-xr-x | lib/keyringer/actions/find | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/actions/find b/lib/keyringer/actions/find index 92bec25..21afc7a 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 -iname "*$ARGS*" +cd "$KEYDIR/$RELATIVE_PATH" && find -iname "*$ARGS*" | sed -e 's|^./||g' cd "$CWD" |