diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/build-rpm-package | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package index f088bb9..ba4c23b 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -302,6 +302,10 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET exit -1 fi + # Save old input field separator value and set it to newline only. + OLDIFS="${IFS}" + IFS="$(printf '\n')" + # Fetch the requested lines from ${CUSTOM_REPO} and store them in an array. typeset -a extra_repo typeset -i FETCH_SECTION=0 |