aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--pdebuild2
-rw-r--r--pdebuild-user-mode-linux2
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e3f09f7..2c914a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-02 Junichi Uekawa <dancer@debian.org>
+
+ * pdebuild (ARCHITECTURE): pass DEBBUILDOPTS through echo to dpkg-buildpackage.
+
2004-11-19 Junichi Uekawa <dancer@debian.org>
* pbuilder.8: update docs.
diff --git a/pdebuild b/pdebuild
index 191e6c1..d149aad 100644
--- a/pdebuild
+++ b/pdebuild
@@ -39,7 +39,7 @@ else
if [ ! dpkg-checkbuilddeps -B ]; then
echo "W: Unmet build-dependency in source"
fi
- dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS
+ echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | /bin/sh
${PBUILDERROOTCMD} pbuilder build "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}" --debbuildopts "${DEBBUILDOPTS}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
fi
diff --git a/pdebuild-user-mode-linux b/pdebuild-user-mode-linux
index c3fd815..3431e26 100644
--- a/pdebuild-user-mode-linux
+++ b/pdebuild-user-mode-linux
@@ -45,7 +45,7 @@ else
if [ ! dpkg-checkbuilddeps -B ]; then
echo "W: Unmet build-dependency in source"
fi
- dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS
+ echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | /bin/sh
pbuilder-user-mode-linux build "$@" --buildresult "${UML_BUILDRESULT}" --debbuildopts "${DEBBUILDOPTS}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
fi