diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-08 21:06:41 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-08 21:06:41 (EDT) |
commit | bb5239471d3628e79dc44fa3345a052f88199eeb (patch) | |
tree | cbef6fc904a70c577ca4f054fa0eff77b9e51424 | |
parent | e5157f0dc5557f504ac752bb4687499a51e59bae (diff) |
Use clean macro names in makefiles.
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -309,6 +309,7 @@ write_makefiles() # Make a script to edit input makefiles. _sed_script='' for _var in ${subst_vars}; do + _var="$(printf '%s' "${_var}" | tr -c '[a-z0-9]' '_')" _sed_script="${_sed_script}s&@${_var}@&$(eval echo \$\{"${_var}"\})&g;" done |