diff options
author | rysiek <rysiek@example.org> | 2017-11-03 10:36:14 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-03 10:36:14 -0200 |
commit | 4a0d2bdc2ba611dd177454b73ebb480e15be300d (patch) | |
tree | 0f1c1774f1f61bdf0f4105cef3dc5c26180e9e61 /lib | |
parent | 171a0799e7d57bc121b0efe766a2e215c7afccba (diff) | |
download | keyringer-4a0d2bdc2ba611dd177454b73ebb480e15be300d.tar.gz keyringer-4a0d2bdc2ba611dd177454b73ebb480e15be300d.tar.bz2 |
recrypt's use of find fixed on FreeBSD
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/keyringer/actions/recrypt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/keyringer/actions/recrypt b/lib/keyringer/actions/recrypt index d88a749..0e2f6a0 100755 --- a/lib/keyringer/actions/recrypt +++ b/lib/keyringer/actions/recrypt @@ -9,6 +9,7 @@ source "$LIB" readwrite $* || exit 1 # Recrypt a single secret function keyringer_recrypt { + # Get file keyringer_get_file "$1" @@ -39,7 +40,7 @@ function keyringer_recrypt { if [ ! -z "$2" ]; then keyringer_recrypt $2 else - cd $KEYDIR && find | while read file; do + cd $KEYDIR && find ./ | while read file; do if [ ! -d "$KEYDIR/$file" ]; then keyringer_recrypt "$file" fi |