diff options
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index 2d5a054..d56ef1d 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -26,7 +26,7 @@ function copydsc () { for FILE in \ "$DSCFILE" \ $(cat "$DSCFILE" | \ - awk 'BEGIN{p=0} /^$/ {p=0} {if (p){print "'$(dirname "$DSCFILE")'/" $3}} /^Files:/{p=1}' ) ; do + awk 'BEGIN{p=0} /^$/ {p=0} /^.*:/ {p=0} {if (p){print "'$(dirname "$DSCFILE")'/" $3}} /^Files:/{p=1}' ) ; do echo " -> copying [$FILE]" cp "$FILE" "$TARGET" ; done |