diff options
-rwxr-xr-x | src/password-store.sh | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index 4c0a83e..8a56afc 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -291,14 +291,15 @@ cmd_find() { exit 1 fi if ! tree --version | grep -q "Jason A. Donenfeld"; then - echo "ERROR: $PROGRAM: incompatible tree command" - echo - echo "Your version of the tree command is missing the relevent patch to add the" - echo "--matchdirs and --caseinsensitive switches. Please ask your distribution" - echo "to patch your version of" - echo "tree with:" - echo " http://git.zx2c4.com/password-store/plain/contrib/tree-1.6.0-matchdirs.patch" - echo "Sorry for the inconvenience." + cat <<-_EOF + ERROR: $PROGRAM: incompatible tree command + + Your version of the tree command is missing the relevent patch to add the + --matchdirs and --caseinsensitive switches. Please ask your distribution + to patch your version of tree with: + http://git.zx2c4.com/password-store/plain/contrib/tree-1.6.0-matchdirs.patch + Sorry for the inconvenience. + _EOF exit 1 fi local terms="$@" |