aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2001-09-01 09:53:16 +0000
committerdancer <dancer>2001-09-01 09:53:16 +0000
commit9e78b432cda719251e271c9af4676f8caaf9f11a (patch)
treedb6ebda5f100ba3b947b22fea165f0dc7b899f18
parenteeaefcdaf0c56509705a97b959910e4b5374a9d5 (diff)
downloadpbuilder-9e78b432cda719251e271c9af4676f8caaf9f11a.tar
pbuilder-9e78b432cda719251e271c9af4676f8caaf9f11a.tar.gz
fixed a typo in awk script for self-deps-checker
-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.