Skip to content
Snippets Groups Projects
Commit 075c8da0 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld
Browse files

Use --noreport instead of head -n -2 for tree so that it works on mac.

parent f861fe5f
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ case "$command" in
else
echo $path
fi
tree "$PREFIX/$path" | tail -n +2 | head -n -2 | sed 's/\(.*\)\.gpg$/\1/';
tree --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/'
else
passfile="$PREFIX/$path.gpg"
if ! [[ -f $passfile ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment