summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/pbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pbuild.sh b/bin/pbuild.sh
index f329c2a..3e0c5ab 100755
--- a/bin/pbuild.sh
+++ b/bin/pbuild.sh
@@ -231,7 +231,7 @@ do
# upload
case "${UPLOAD}" in
true)
- FILES="$(sed -e '1,/^Files:$/ d' ${TARGET}_${SOURCE_VERSION}*.dsc | awk '/^ / { print $5 }')"
+ FILES="$(sed -e '1,/^Files:$/ d' ${TARGET}_${SOURCE_VERSION}*.dsc | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $3 }')"
for FILE in ${FILES}
do
@@ -342,7 +342,7 @@ do
# upload
case "${UPLOAD}" in
true)
- FILES="$(sed -e '1,/^Files:$/ d' ${TARGET}_${SOURCE_VERSION}_*.changes | awk '/^ / { print $5 }')"
+ FILES="$(sed -e '1,/^Files:$/ d' ${TARGET}_${SOURCE_VERSION}_*.changes | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $5 }')"
for FILE in ${FILES}
do