X-Git-Url: https://git.madduck.net/code/mbuild.git/blobdiff_plain/674923e47fbeeedc74084c3774e8c6ef374dff5f..4160d5712d45ad3f7b24b9cb56782c2043ab1bef:/sbuild-wrapper.sh diff --git a/sbuild-wrapper.sh b/sbuild-wrapper.sh index 731e1bd..c0fc8e6 100755 --- a/sbuild-wrapper.sh +++ b/sbuild-wrapper.sh @@ -10,7 +10,7 @@ set -eu ME="${0##*/}" BUILDDIR="$(mktemp -dt $ME.XXXXXXXX)" -trap "cd / && rm -R '$BUILDDIR'" 0 +trap "cd /tmp && rm -r '$BUILDDIR'" 0 BUNDLE_DIR="${TMPDIR:-/tmp}" TARGET_DIR="$PWD" @@ -56,6 +56,7 @@ usage() cat <<-_eof | column -s\& -t --dist & specify the target distribution (default: sid) --arch & specify the target architecture (default: $DEB_BUILD_ARCH) + -sa & pass --force-orig-source to sbuild -h|--help & show this output. -V|--version & show version information. _eof