summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2017-01-11 16:42:14 (GMT)
committer Jaromil <jaromil@dyne.org>2017-01-11 16:42:14 (GMT)
commit12fe9d6e07e2010313d28382fa7522293692f7ce (patch)
treeef4c97b2fd2c82dcdd3e759f8a5cacc35e536f8c
parent7615ce01b9051605e604ac10b15f5ee6b60062d8 (diff)
minor fixes
-rwxr-xr-xbuild/install-gnu.sh2
-rwxr-xr-xsrc/jaro3
2 files changed, 2 insertions, 3 deletions
diff --git a/build/install-gnu.sh b/build/install-gnu.sh
index 8cdc65c..fa7bed4 100755
--- a/build/install-gnu.sh
+++ b/build/install-gnu.sh
@@ -51,7 +51,7 @@ cat <<EOF > $PREFIX/bin/jaro
export JAROWORKDIR=${JARO_SHARE}
EOF
-zmodload zsh/pcre
+# zmodload zsh/pcre
# if not installed system-wide then place the Mail into prefix
[[ "$PREFIX" =~ "^/usr" ]] || {
cat <<EOF >> $PREFIX/bin/jaro
diff --git a/src/jaro b/src/jaro
index cdaefcf..2ee6a28 100755
--- a/src/jaro
+++ b/src/jaro
@@ -361,8 +361,7 @@ check_bin() {
error "the 'pass' keyring is found but not initialised"
error "run 'pass init your-gpg-id' or uninstall it to use other keyrings"
return 1 }
- PASS=1
- }
+ PASS==1
# check if secret-tool is present else fallback to gnome-keyring
elif isfound secret-tool; then