summaryrefslogtreecommitdiffstats
path: root/doc/makepkg-template.1.asciidoc
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-06-12 13:28:51 +0200
committerAllan McRae <allan@archlinux.org>2018-08-10 07:20:40 +0200
commit2d8d8af915d352b61178a981603360c27a3899f2 (patch)
tree70ea242e0c91924fb6cd7fcb6e0987cb0f3413fb /doc/makepkg-template.1.asciidoc
parent7d05ffceaf9161a6572505d25b5017e1eb33bf0e (diff)
downloadpacman-2d8d8af915d352b61178a981603360c27a3899f2.tar.gz
pacman-2d8d8af915d352b61178a981603360c27a3899f2.tar.xz
scripts: pass on options such as set -x to child processes
When re-running makepkg for fakeroot, if `bash -x makepkg` was used this is lost. Fix by encoding the current set of options explicitly in the invocation, both for makepkg and for the wrapper used to test scripts inside the source tree. Also change to use ${BASH_SOURCE[0]} instead of $0 as the latter can be anything the parent process wants, while the former is explicitly set by bash itself to the filepath of the script. See http://mywiki.wooledge.org/BashFAQ/028 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/makepkg-template.1.asciidoc')
0 files changed, 0 insertions, 0 deletions