summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.