diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-05 14:43:12 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-05 17:39:32 -0400 |
commit | 2c73ee87336d5ce6c1f04c48b79d390a1a677a20 (patch) | |
tree | 4e21f40a946210b6320822e184001a6608a5a4f0 /test/librerelease-test.sh | |
parent | e7fde7bda55c0aa41ca73a2f3fd5c9b987a2d6d1 (diff) |
test: librerelease: avoid using $HOME in tests
Prefer XDG_CONFIG_HOME where possible
Diffstat (limited to 'test/librerelease-test.sh')
-rw-r--r-- | test/librerelease-test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/librerelease-test.sh b/test/librerelease-test.sh index 572e100..1c864f7 100644 --- a/test/librerelease-test.sh +++ b/test/librerelease-test.sh @@ -9,11 +9,12 @@ common_before() { echo "WORKDIR='$tmpdir/workdir'" echo 'REPODEST=repo@repo:/srv/http/repo/staging-$LIBREUSER' } >$XDG_CONFIG_HOME/libretools/libretools.conf + mkdir -p $XDG_CONFIG_HOME/pacman { echo 'PKGEXT=.pkg.tar.gz' echo "PKGDEST='$tmpdir/workdir/pkgdest'" echo "GPGKEY=YOURKEY" - } > $HOME/.makepkg.conf + } >$XDG_CONFIG_HOME/pacman/makepkg.conf mkdir -p "$tmpdir/workdir/pkgdest" } |