summaryrefslogtreecommitdiff
path: root/test/librerelease-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/librerelease-test.sh')
-rw-r--r--test/librerelease-test.sh8
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"
}