1 |
commit: 1ddceba6207e11eb2e90931a74705c124327cf8e |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 26 16:00:52 2014 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 26 16:01:03 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=1ddceba6 |
7 |
|
8 |
[Documentation/maintainers] Fix iterating over lines with whitespace. |
9 |
|
10 |
By default, for will iterate over various types of whitespace, so explicitly |
11 |
define that we want newlines. |
12 |
|
13 |
--- |
14 |
Documentation/maintainers/bump-from-set.sh | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/Documentation/maintainers/bump-from-set.sh b/Documentation/maintainers/bump-from-set.sh |
18 |
index 741f199..8758a5c 100755 |
19 |
--- a/Documentation/maintainers/bump-from-set.sh |
20 |
+++ b/Documentation/maintainers/bump-from-set.sh |
21 |
@@ -9,6 +9,7 @@ get_package_list_from_set() { |
22 |
|
23 |
local SET="${1}" |
24 |
|
25 |
+ IFS=$'\n' |
26 |
for entry in $(cat "${PORTDIR}/sets/${SET}") ; do |
27 |
if [[ ${entry} == \#* || ${entry} == @* ]] ; then |
28 |
continue |