summaryrefslogtreecommitdiff
path: root/src/chroot-tools/librechroot
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-02 23:57:57 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-03 03:59:03 -0400
commitddd4379f906fb84588093099a81d5ea633e6a7c7 (patch)
tree5cef537d15ac49bf8f290293df18af532dbaa709 /src/chroot-tools/librechroot
parentfa68208eb07b39fecb5084c136c9329a483a001b (diff)
Use Bash 4.4 @Q instead of %q
Diffstat (limited to 'src/chroot-tools/librechroot')
-rwxr-xr-xsrc/chroot-tools/librechroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index d763830..6db11a8 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -479,7 +479,7 @@ main() {
arch-nspawn "$copydir" pacman -Syu --noconfirm
;;
clean-pkgs)
- trap "rm -f -- $(printf '%q ' "$copydir"/{bin/chcleanup,chrootexec})" EXIT
+ trap "rm -f -- ${copydir@Q}/{bin/chcleanup,chrootexec}" EXIT
install -m755 "$(librelib chroot/chcleanup)" "$copydir/bin/chcleanup"
printf '%s\n' \
'#!/bin/bash' \