From 8a0005b61300850e11fe19202ccd2118736ec661 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sat, 3 May 2014 11:36:16 +0000 Subject: pass patches NUL-terminated Signed-off-by: Thorsten Glaser --- scripts/update-patches2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/update-patches2') 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" -- cgit v1.2.3