diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-02 23:57:57 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-03 03:59:03 -0400 |
commit | ddd4379f906fb84588093099a81d5ea633e6a7c7 (patch) | |
tree | 5cef537d15ac49bf8f290293df18af532dbaa709 /src/chroot-tools/chcleanup.in | |
parent | fa68208eb07b39fecb5084c136c9329a483a001b (diff) |
Use Bash 4.4 @Q instead of %q
Diffstat (limited to 'src/chroot-tools/chcleanup.in')
-rw-r--r-- | src/chroot-tools/chcleanup.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/chcleanup.in b/src/chroot-tools/chcleanup.in index e72ab45..7826753 100644 --- a/src/chroot-tools/chcleanup.in +++ b/src/chroot-tools/chcleanup.in @@ -70,7 +70,7 @@ cp /repo/repo.db /var/lib/pacman/sync/repo.db # Setup the temporary directory TEMPDIR="$(mktemp --tmpdir -d "${0##*/}.XXXXXXXXXX")" -trap "rm -rf -- $(printf '%q' "$TEMPDIR")" EXIT +trap "rm -rf -- ${TEMPDIR@Q}" EXIT cp -a /var/lib/pacman/sync "${TEMPDIR}/" pkglist="${TEMPDIR}"/pkglist.txt |