summaryrefslogtreecommitdiffstats
path: root/bin/pmove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pmove.sh')
-rwxr-xr-xbin/pmove.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pmove.sh b/bin/pmove.sh
index 1656aa3..225c94a 100755
--- a/bin/pmove.sh
+++ b/bin/pmove.sh
@@ -28,7 +28,7 @@ do
for CHANGE in ${CHANGES}
do
- FILES="$(sed -e '1,/^Files:$/ d' ${CHANGE} | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $5 }')"
+ FILES="$(sed -e '1,/^Files:$/ d' ${CHANGE} | sed -e '/^[0-1a-zA-Z]/,$d' | awk '{ print $5 }')"
CONTINUE="false"
for FILE in ${FILES}
@@ -110,7 +110,7 @@ then
break
fi
- FILES="$(sed -e '1,/^Files:$/ d' ${DSC} | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $3 }')"
+ FILES="$(sed -e '1,/^Files:$/ d' ${DSC} | sed -e '/^[0-1a-zA-Z]/,$d' | awk '{ print $3 }')"
CONTINUE="false"
for FILE in ${FILES}