summaryrefslogtreecommitdiff
path: root/src/password-store.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-16 13:26:08 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-16 13:26:08 +0200
commitee0d3f1a7884877a50ddc3d334777475cc2e3ea9 (patch)
tree08b7fc65e787be8c061c58b166eea96a2490d3b5 /src/password-store.sh
parentf1f63fa1220afc75a5599a0c752600bd65656df2 (diff)
downloadpass-ee0d3f1a7884877a50ddc3d334777475cc2e3ea9.tar.gz
pass-ee0d3f1a7884877a50ddc3d334777475cc2e3ea9.tar.bz2
pass-ee0d3f1a7884877a50ddc3d334777475cc2e3ea9.zip
find: use heredoc for error message
Diffstat (limited to 'src/password-store.sh')
-rwxr-xr-xsrc/password-store.sh17
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="$@"
23:44:52 +0100Necoro3-175/+181 2008-01-14(no commit message)Necoro10-758/+1014 2008-01-14 r621@Devoty: necoro | 2008-01-14 20:21:40 +0100Necoro2-21/+61 2008-01-14 r618@Devoty: necoro | 2008-01-14 20:19:05 +0100Necoro2-35/+57 2008-01-14 r617@Devoty: necoro | 2008-01-14 19:12:59 +0100Necoro2-10/+10 2008-01-14 r609@Devoty: necoro | 2008-01-14 17:04:38 +0100Necoro9-394/+477 2008-01-14 r605@Devoty: necoro | 2008-01-14 11:43:34 +0100Necoro2-26/+129 2008-01-14 r603@Devoty: necoro | 2008-01-14 11:30:26 +0100Necoro4-26/+38 2008-01-11 r598@Devoty: necoro | 2008-01-10 16:36:29 +0100Necoro4-10/+50 2008-01-11 r597@Devoty: necoro | 2008-01-10 14:12:35 +0100Necoro1-3/+3 2008-01-10 r595@Devoty: necoro | 2008-01-10 04:04:15 +0100Necoro1-52/+3 2008-01-09 r586@Devoty: necoro | 2008-01-09 14:54:18 +0100Necoro1-1/+1 2007-12-06 r577@Devoty: necoro | 2007-12-06 20:37:36 +0100Necoro1-1/+1 2007-12-06 r572@Devoty: necoro | 2007-11-28 08:48:15 +0100Necoro1-0/+1 2007-11-27 r570@Devoty: necoro | 2007-11-27 02:08:21 +0100Necoro3-84/+108