From 7b1270ef055254e1aa79fe065059efb085d9d271 Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Thu, 2 Apr 2015 02:09:30 +0200 Subject: bin/build-rpm-package: make OLDIFS variable local. --- bin/build-rpm-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/build-rpm-package b/bin/build-rpm-package index 1bb548d..9f83954 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -330,7 +330,7 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET fi # Save old input field separator value and set it to newline only. - OLDIFS="${IFS}" + typeset OLDIFS="${IFS}" IFS="$(printf '\n')" # Fetch the requested lines from ${CUSTOM_REPO} and store them in arrays. -- cgit v1.2.3