diff options
Diffstat (limited to 'test/librefetch-test.sh')
-rw-r--r-- | test/librefetch-test.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh index 8cc7281..9edc227 100644 --- a/test/librefetch-test.sh +++ b/test/librefetch-test.sh @@ -6,16 +6,13 @@ describe librefetch before() { common_before - mkdir -p "$tmpdir/workdir/srcdest" - - install -Dm644 /dev/stdin "$XDG_CONFIG_HOME/pacman/makepkg.conf" <<-eot + cat >> "$XDG_CONFIG_HOME/pacman/makepkg.conf" <<-eot DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o') BUILDDIR="" - SRCDEST=${tmpdir@Q}/workdir/srcdest source ${_librelib_conf_sh_sysconfdir@Q}/makepkg.d/librefetch.conf eot export MAKEPKG_CONF="$XDG_CONFIG_HOME/pacman/makepkg.conf" |