app-crypt/monkeysphere: try to fix empty UID
[portage-overlay.git] / app-crypt / monkeysphere / files / 03_userid_empty_line.patch
index 0c3971e..70c7cff 100644 (file)
@@ -1,15 +1,12 @@
-diff -r 4a0bfe42f448 src/share/common
---- a/src/share/common Wed Oct 09 18:52:58 2013 +0200
-+++ b/src/share/common Wed Oct 09 18:54:16 2013 +0200
-@@ -921,6 +921,11 @@
+diff -r 2315bb7781c6 src/share/common
+--- a/src/share/common Thu Oct 10 19:25:10 2013 +0200
++++ b/src/share/common Thu Oct 10 19:25:50 2013 +0200
+@@ -917,7 +917,7 @@
+     IFS=$'\n'
+     while read line ; do
+       case "$line" in
+-          ("#"*)
++          ("#"*|"")
                continue
                ;;
            (" "*|$'\t'*)
-+              
-+              if [[ -z ${line// /} ]]; then
-+                      continue
-+              fi
-+
-               if [[ -z ${koptions[${nline}]} ]]; then
-                   koptions[${nline}]=$(echo $line | sed 's/^[         ]*//;s/[        ]$//;')
-               else