aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 060aacc..a4e3a20 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -20,7 +20,7 @@ function checkbuilddep_internal () {
echo " -> Attempting to parse the build-deps by myself"
for INSTALLPKG in $(grep "^Build-Depends\(-Indep\|\): " "$BUILDPLACE/"tmp/buildd/*/debian/control | \
sed 's/^[^:]*: \(.*\)$/\1/' | \
- awk 'BEGIN{RS=","} {print}'); do
+ awk 'BEGIN{RS=","} {print $1}'); do
echo " -> Considering $INSTALLPKG"
if echo "$INSTALLPKG" | grep '\[' > /dev/null ; then
# this package has arch-deps.
@@ -38,7 +38,7 @@ function checkbuilddep_internal () {
done;
for INSTALLPKG in $(grep "^Build-Conflicts\(-Indep\|\): " "$BUILDPLACE/"tmp/buildd/*/debian/control | \
sed 's/^[^:]*: \(.*\)$/\1/' | \
- awk 'BEGIN{RS=","} {print}'); do
+ awk 'BEGIN{RS=","} {print $1}'); do
echo " -> Considering $INSTALLPKG"
if echo "$INSTALLPKG" | grep '\[' > /dev/null ; then
# this package has arch-deps.