password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit ee0d3f1a7884877a50ddc3d334777475cc2e3ea9
parent f1f63fa1220afc75a5599a0c752600bd65656df2
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Wed, 16 Apr 2014 13:26:08 +0200

find: use heredoc for error message

Diffstat:
Msrc/password-store.sh | 17+++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff --git 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="$@"