summaryrefslogtreecommitdiffstats
path: root/bin/pmove.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-06-12 04:48:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-06-12 08:22:59 +0000
commitbe6e0a6a022ee8d93ab3256c9c7c94b3390039da (patch)
tree5b4e5c7f3f9cf6b4704e2aa666287c98e3bfb522 /bin/pmove.sh
parentUpdating. (diff)
downloadprogress-linux-tools-be6e0a6a022ee8d93ab3256c9c7c94b3390039da.tar.xz
progress-linux-tools-be6e0a6a022ee8d93ab3256c9c7c94b3390039da.zip
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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}