diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2014-05-03 11:36:16 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-03 14:33:12 +0200 |
commit | 8a0005b61300850e11fe19202ccd2118736ec661 (patch) | |
tree | 20cf79ad72c7895c5b55542da7e51d802fab7012 /scripts/update-patches2 | |
parent | 0bb1dee8453d8d723263fe63c38781faf6cb2bc6 (diff) |
pass patches NUL-terminated
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'scripts/update-patches2')
-rw-r--r-- | scripts/update-patches2 | 2 |
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" |