aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc.d/pass.bash2
-rw-r--r--bash/bashrc.d/ud.bash2
2 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/pass.bash b/bash/bashrc.d/pass.bash
index 61550b9e..e173531f 100644
--- a/bash/bashrc.d/pass.bash
+++ b/bash/bashrc.d/pass.bash
@@ -9,7 +9,7 @@ _pass()
{
# If we can't read the password directory, just bail
local passdir=${PASSWORD_STORE_DIR:-$HOME/.password-store}
- if [[ ! -r "$passdir" ]] ; then
+ if [[ ! -r $passdir ]] ; then
return 1
fi
diff --git a/bash/bashrc.d/ud.bash b/bash/bashrc.d/ud.bash
index c83b7c56..16a79cba 100644
--- a/bash/bashrc.d/ud.bash
+++ b/bash/bashrc.d/ud.bash
@@ -13,7 +13,7 @@ ud() {
# Check and save optional second argument, target directory; default to
# $PWD (typical usage case)
local dir=${2:-$PWD}
- if [[ ! -e "$dir" ]] ; then
+ if [[ ! -e $dir ]] ; then
printf 'bash: %s: Target dir %s does not exist\n' "$FUNCNAME" "$2" >&2
return 1
fi