summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-02 02:09:30 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-02 02:09:30 +0200
commit7b1270ef055254e1aa79fe065059efb085d9d271 (patch)
treeb435f24bebb6153e17ac99fba5b526f39ad4ad52
parent56b8bee5a2101bb43edbacf7c0b081509d2e638e (diff)
downloadbuildscripts-7b1270ef055254e1aa79fe065059efb085d9d271.tar.gz
buildscripts-7b1270ef055254e1aa79fe065059efb085d9d271.tar.bz2
buildscripts-7b1270ef055254e1aa79fe065059efb085d9d271.zip
bin/build-rpm-package: make OLDIFS variable local.
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
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.