Commit Graph

7 Commits

Author SHA1 Message Date
Uli Schlachter 886d62fb59 Use 'sh' instead of 'sh -e'
'sh -e' makes the shell script die if any command returns an error which isn't
caught. While this is a nice feature, this script doesn't actually need this.
Not using this shell feature makes the script more portable.

Thanks to Edward O'Callaghan aka eocallagha for stumbling upon this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:40:09 +02:00
Uli Schlachter 90d6c799ff Fix a bashism in gperf.sh
This (hopefully) fixes a bug reported by evocallaghan with ksh.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:39:48 +02:00
Uli Schlachter cf4630dbe1 Remove some useless use of cat
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:39:24 +02:00
Uli Schlachter d9c71f4e23 Fix a wrong leading space in gperf.sh's shebang
While this space doesn't hurt on any modern OS (afaik), it does break stuff
on the old ones and is non-standard. Removing it won't hurt, so...

Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:39:15 +02:00
Julien Danjou f747352c84 gperf: remove -m option, not recognize by FreeBSD
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-22 17:34:20 +02:00
Pierre Habouzit 4e588743ad we want case sensitivity
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 14:56:40 +02:00
Pierre Habouzit c2df807ede Use gperf to tokenize some strings.
This makes the code way more readable, and also avoids a lot of strcmps.

Use it for draw_align_get_from_str as a proof of concept.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 07:41:22 +02:00