mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2025-12-14 10:15:12 +02:00
Fix tests: match $CRAMTMP more losely (#78)
Fixes https://github.com/Tarrasch/zsh-autoenv/issues/76.
This commit is contained in:
@@ -11,11 +11,6 @@
|
||||
|
||||
export AUTOENV_AUTH_FILE="$CRAMTMP/autoenv/.autoenv_auth"
|
||||
|
||||
if [[ $AUTOENV_AUTH_FILE[0,4] != '/tmp' ]]; then
|
||||
echo "AUTOENV_AUTH_FILE is not in /tmp. Aborting."
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Abort this setup script on any error.
|
||||
_save_errexit=${options[errexit]}
|
||||
set -e
|
||||
|
||||
Reference in New Issue
Block a user