Changeset 4788


Ignore:
Timestamp:
Oct 20, 2011, 11:23:06 AM (6 years ago)
Author:
sam
Message:

Fix IFS handling for M4PATH in the bootstrap script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • research/autotools/bootstrap

    r4365 r4788  
    33# bootstrap: generic bootstrap/autogen.sh script for autotools projects
    44#
    5 # Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
     5# Copyright (c) 2002-2011 Sam Hocevar <sam@hocevar.net>
    66#
    77#    This program is free software. It comes without any warranty, to
     
    113113fi
    114114
     115# Honour M4PATH because sometimes M4 doesn't
     116save_IFS=$IFS
     117IFS=:
     118tmp="$M4PATH"
     119for x in $tmp; do
     120  if test -n "$x"; then
     121    aclocalflags="${aclocalflags} -I $x"
     122  fi
     123done
     124IFS=$save_IFS
     125
    115126# Explain what we are doing from now
    116127set -x
Note: See TracChangeset for help on using the changeset viewer.