mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-16 01:00:38 +08:00
Build source packages for debian
Remove the -b parameter to dpkg-buildpackage so source packages get built as well.
This commit is contained in:
@@ -398,9 +398,9 @@ build_deb() {
|
||||
fi
|
||||
cp $BRANCH/config/deb/* $RELEASE_DIR/$PKG/debian/
|
||||
|
||||
# Build Debian "binary" package.
|
||||
# Build Debian binary and source packages.
|
||||
cd $RELEASE_DIR/$PKG
|
||||
dpkg-buildpackage -b -us -uc >$tmpdir/dpkg-buildpackage 2>&1
|
||||
dpkg-buildpackage -us -uc >$tmpdir/dpkg-buildpackage 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
warn "dpkg-buildpackage has warnings; see $tmpdir/dpkg-buildpackage"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user