[X2Go-Commits] [buildscripts] 01/03: bin/build-rpm-package: make OLDIFS variable local.

git-admin at x2go.org git-admin at x2go.org
Thu Apr 2 02:10:46 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 7b1270ef055254e1aa79fe065059efb085d9d271
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Apr 2 02:09:30 2015 +0200

    bin/build-rpm-package: make OLDIFS variable local.
---
 bin/build-rpm-package |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.

--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list