Fix a bashism in gperf.sh
This (hopefully) fixes a bug reported by evocallaghan with ksh. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
cf4630dbe1
commit
90d6c799ff
|
@ -70,7 +70,8 @@ do_tokens() {
|
|||
}
|
||||
|
||||
do_c() {
|
||||
if ! which gperf > /dev/null; then
|
||||
which gperf > /dev/null
|
||||
if test $? = 1 ; then
|
||||
echo "gperf not found. You need to install gperf." > /dev/stderr;
|
||||
exit 1;
|
||||
fi;
|
||||
|
|
Loading…
Reference in New Issue