summaryrefslogtreecommitdiff
path: root/scripts/update-patches2
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2014-05-03 11:36:16 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-03 14:33:12 +0200
commit8a0005b61300850e11fe19202ccd2118736ec661 (patch)
tree20cf79ad72c7895c5b55542da7e51d802fab7012 /scripts/update-patches2
parent0bb1dee8453d8d723263fe63c38781faf6cb2bc6 (diff)
pass patches NUL-terminated
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'scripts/update-patches2')
-rw-r--r--scripts/update-patches22
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-patches2 b/scripts/update-patches2
index 8f8711af7..2b8349bcf 100644
--- a/scripts/update-patches2
+++ b/scripts/update-patches2
@@ -25,7 +25,7 @@ export CURDIR PATCH_LIST
mksh "${TOPDIR}"/scripts/update-patches |&
first=1
set -A toedit
-while IFS= read -p -r; do
+while IFS= read -p -d '' -r; do
if (( first )); then
if [[ $REPLY = FAIL ]]; then
rm -rf "${WRKDIR1}.orig"