diff options
author | Marvin Killing <marvinkilling@gmail.com> | 2013-02-23 00:27:08 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-02-23 02:10:16 +0100 |
commit | 7ff656179de5ab3b526dbf5a372ecdfcb0d7fab6 (patch) | |
tree | 4a68643e470d3a2354b751c08090a7615fdb6db8 /src | |
parent | a9f34015d3121cfcdfdae3bba69f25a7460520b5 (diff) |
Tree should follow symlinks.
Make show/ls/list follow links by passing -l to tree.
Diffstat (limited to 'src')
-rwxr-xr-x | src/password-store.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index 26a4bd0..99010e9 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -213,7 +213,7 @@ case "$command" in else echo "${path%\/}" fi - tree --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/' + tree -l --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/' else passfile="$PREFIX/$path.gpg" if [[ ! -f $passfile ]]; then |