We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9479ce4 commit 0fdde78Copy full SHA for 0fdde78
1 file changed
autorevision.sh
@@ -96,7 +96,7 @@ fi
96
97
# Make sure that the path we are given is one we can source
98
# (dash, we are looking at you).
99
-if ! echo "${CACHEFILE}" | grep -q '^\.*/'; then
+if [ ! -z "${CACHEFILE}" ] && ! echo "${CACHEFILE}" | grep -q '^\.*/'; then
100
CACHEFILE="./${CACHEFILE}"
101
fi
102
0 commit comments