1
0
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:
Daniel Hahler
2017-12-14 00:53:53 +01:00
committed by GitHub
parent d6bfdff968
commit 468fa71d15
6 changed files with 26 additions and 31 deletions

View File

@@ -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