data2csrc determines variable names, shell compatibility
commit0efe960c045c1d8ade2166036cc390e3c43a0a37
authorThomas Perl <thp@perli.net>
Wed, 12 Sep 2007 11:13:19 +0000 (12 13:13 +0200)
committerThomas Perl <thp@perli.net>
Wed, 12 Sep 2007 11:13:19 +0000 (12 13:13 +0200)
tree1a18e6ea8e297f38bbc8d5d34c8758d3dfc353d4
parentd8a65baec82cc7d670d3030f4cd5bf45033ff46f
data2csrc determines variable names, shell compatibility

João Pinto pointed out that Tennix will not compile when
not using bash as /bin/sh, as the makefile in data/ will
complain about bad substitution.

This has been worked around by making data2csrc generating
the variable name on-the-fly if the variable name is not
passed as second command line argument.
data/data2csrc.c
data/makefile