diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-04 16:17:41 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-04 16:17:41 -0400 |
commit | 9e7a8503fad18e5354e16f0d5e17caa5690bd00a (patch) | |
tree | c3188228da3d74a6eda2e0fb403aaec5bf3cb96c /test/librerelease-test.sh | |
parent | afd5e9690ec4543eb49143a4e6ce0a4d76f63378 (diff) |
test: Avoid letting environmental variables affect things
Diffstat (limited to 'test/librerelease-test.sh')
-rw-r--r-- | test/librerelease-test.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/librerelease-test.sh b/test/librerelease-test.sh index c102ecc..584214b 100644 --- a/test/librerelease-test.sh +++ b/test/librerelease-test.sh @@ -10,9 +10,11 @@ before() { mkdir -p $XDG_CONFIG_HOME/libretools echo "WORKDIR='$tmpdir/workdir'" >$XDG_CONFIG_HOME/libretools/libretools.conf - export HOME=$XDG_CONFIG_HOME - echo 'PKGEXT=.pkg.tar.gz' > $HOME/.makepkg.conf - echo "PKGDEST='$tmpdir/workdir/pkgdest'" >> $HOME/.makepkg.conf + { + echo 'PKGEXT=.pkg.tar.gz' + echo "PKGDEST='$tmpdir/workdir/pkgdest'" + echo "GPGKEY=YOURKEY" + } > $HOME/.makepkg.conf mkdir -p "$tmpdir/workdir/pkgdest" } |