aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2001-09-23 15:29:54 +0000
committerdancer <dancer>2001-09-23 15:29:54 +0000
commitcc9bc141e242c876d85a1e76218da8812d623a08 (patch)
tree2477a98bb672655884924e14da269f44281f131d /pbuilder-buildpackage
parent4e61c4deb7094a578c863242f03d1b05e98d0150 (diff)
downloadpbuilder-cc9bc141e242c876d85a1e76218da8812d623a08.tar
pbuilder-cc9bc141e242c876d85a1e76218da8812d623a08.tar.gz
fixed bug with dsc parser
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 537c954..a52481b 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -8,7 +8,7 @@ function copydsc () {
for FILE in \
"$DSCFILE" \
$(cat "$DSCFILE" | \
- awk 'BEGIN{p=0} {if (p){print "'$(dirname "$DSCFILE")'/" $3}} /^Files:/{p=1}') ; do
+ awk 'BEGIN{p=0} {if (p){print "'$(dirname "$DSCFILE")'/" $3}} /^Files:/{p=1} /^$/ {p=0}') ; do
cp "$FILE" "$TARGET" ;
done
}