summaryrefslogtreecommitdiff
path: root/test/test-common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-common.sh')
-rw-r--r--test/test-common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-common.sh b/test/test-common.sh
index 244e3b7..e704b5a 100644
--- a/test/test-common.sh
+++ b/test/test-common.sh
@@ -48,8 +48,8 @@ setup_chrootdir() {
echo "BLACKLIST=https://git.parabola.nu/blacklist.git/plain/blacklist.txt" >"$XDG_CONFIG_HOME"/libretools/libretools.conf
- echo "CHROOTDIR='${chrootdir}'" > "$XDG_CONFIG_HOME"/libretools/chroot.conf
- echo "CHROOT='default'" >> "$XDG_CONFIG_HOME"/libretools/chroot.conf
+ printf 'CHROOTDIR=%q\n' "${chrootdir}" > "$XDG_CONFIG_HOME"/libretools/chroot.conf
+ printf 'CHROOT=%q\n' default >> "$XDG_CONFIG_HOME"/libretools/chroot.conf
echo "CHROOTEXTRAPKG=()" >> "$XDG_CONFIG_HOME"/libretools/chroot.conf
}
}