commit:     1ddceba6207e11eb2e90931a74705c124327cf8e
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 26 16:00:52 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Sep 26 16:01:03 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=1ddceba6

[Documentation/maintainers] Fix iterating over lines with whitespace.

By default, for will iterate over various types of whitespace, so explicitly
define that we want newlines.

---
 Documentation/maintainers/bump-from-set.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/maintainers/bump-from-set.sh 
b/Documentation/maintainers/bump-from-set.sh
index 741f199..8758a5c 100755
--- a/Documentation/maintainers/bump-from-set.sh
+++ b/Documentation/maintainers/bump-from-set.sh
@@ -9,6 +9,7 @@ get_package_list_from_set() {
 
        local SET="${1}"
 
+       IFS=$'\n'
        for entry in $(cat "${PORTDIR}/sets/${SET}") ; do
                if [[ ${entry} == \#*  || ${entry} == @* ]] ; then
                        continue

Reply via email to