On Tue, Feb 17, 2015 at 08:07:00AM -0800, Rich Shepard wrote:

> On Tue, 17 Feb 2015, Viktor Dukhovni wrote:
> 
> >This is a symptom of a deeper problem, possibly a bug in the Bourne
> >shell implementation on the system in question.
> 
> Victor,
> 
>   Standard linux bash.
> 
> >I am guessing that your shell read and split the whole "postfix-files"
> >file in one gulp, rather than split each line. Too many tokens from a
> >single line in that file is implausible.
> 
>   OK. I'll pass this on to the maintainers of the SlackBuilds script.

Before you do, insert debugging code to print the "$path" in question.
Something like:

diff --git a/conf/post-install b/conf/post-install
index b66b147..cb5cf67 100644
--- a/conf/post-install
+++ b/conf/post-install
@@ -209,8 +209,8 @@ SHELL=/bin/sh
 IFS="  
 "
 BACKUP_IFS="$IFS"
-debug=:
-#debug=echo
+#debug=:
+debug=echo
 MOST_PARAMETERS="command_directory daemon_directory data_directory
     html_directory mail_owner mailq_path manpage_directory
     newaliases_path queue_directory readme_directory sample_directory
@@ -491,7 +491,7 @@ test -n "$create" && {
            # Skip comments. Skip shared files, if updating a secondary 
instance.
            case $path in
            [$]*) case "$update_shared_files" in
-                 1) $debug keep non-shared or shared $path;;
+                 1) $debug keep non-shared or shared "$path";;
                  *) non_shared=
                     for name in $NON_SHARED
                     do
@@ -500,8 +500,8 @@ test -n "$create" && {
                         esac
                     done
                     case "$non_shared" in
-                     1) $debug keep non-shared $path;;
-                     *) $debug skip shared $path; continue;;
+                     1) $debug keep non-shared "$path";;
+                     *) $debug skip shared "$path"; continue;;
                     esac;;
                  esac;;
               *) continue;;

-- 
        Viktor.

Reply via email to