From ddd4379f906fb84588093099a81d5ea633e6a7c7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 2 Aug 2018 23:57:57 -0400 Subject: Use Bash 4.4 @Q instead of %q --- src/chroot-tools/libremakepkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chroot-tools/libremakepkg') diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg index 2efbeea..f5f4855 100755 --- a/src/chroot-tools/libremakepkg +++ b/src/chroot-tools/libremakepkg @@ -127,7 +127,7 @@ build() ( prepare_chroot "$copydir" "$LIBREHOME" "$repack" false "${run_ynet[@]}" /chrootprepare "${makepkg_args[@]}" |& indent run_hook pre_build "$copydir" - trap "run_hook post_build $(printf '%q' "$copydir")" EXIT + trap "run_hook post_build ${copydir@Q}" EXIT "${run_nnet[@]}" /chrootbuild "${makepkg_args[@]}" |& indent ) -- cgit v1.2.2