summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
Diffstat (limited to 'Swift')
-rwxr-xr-xSwift/Packaging/Debian/package.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh
index d693c0f..b825d2f 100755
--- a/Swift/Packaging/Debian/package.sh
+++ b/Swift/Packaging/Debian/package.sh
@@ -3,6 +3,9 @@
#If you want to share tar output (note: necessary if you want multiple archs with the same hashed tarballs)
# set SHARED_DIR - YOU MUST MAKE SURE YOU HAVE A TRAILING / ON SHARED_DIR
+# If you want to pass parameters to debuild, set them in SWIFT_DEBUILD_FLAGS
+# e.g. -S for just source, -b for just binaries
+
set -e -x
export PYTHONPATH=../../../BuildTools/SCons
@@ -88,4 +91,4 @@ cat ../../../COPYING | awk '/--- END OF OpenSSL/,EOF' | tail -n +3 >> $DIRNAME/d
# Build
cd $DIRNAME
set +e
-debuild -i -I --lintian-opts --pedantic
+debuild -i -I ${SWIFT_DEBUILD_FLAGS} --lintian-opts --pedantic