summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pmove.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pmove.sh b/bin/pmove.sh
index bcd1425..ed6e33d 100755
--- a/bin/pmove.sh
+++ b/bin/pmove.sh
@@ -47,7 +47,7 @@ do
cd "${VERSION}_${ARCHITECTURE}"
- FILES="$(sed -e '1,/^Files:$/ d' ${CHANGE} | awk '/^ / { print $5 }' | grep -v '^<')"
+ FILES="$(sed -e '1,/^Files:$/ d' ${CHANGE} | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $5 }')"
for FILE in ${FILES}
do
@@ -111,7 +111,7 @@ then
mkdir "${VERSION}_source"
cd "${VERSION}_source"
- FILES="$(sed -e '1,/^Files:$/ d' ${DSC} | awk '/^ / { print $3 }' | grep -v '^<')"
+ FILES="$(sed -e '1,/^Files:$/ d' ${DSC} | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $3 }')"
for FILE in ${FILES}
do