]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
autogen.sh: use POSIX comparison for test
authorPeter A. Bigot <pab@pabigot.com>
Wed, 19 Feb 2014 00:31:01 +0000 (18:31 -0600)
committerTobias Oetiker <tobi@oetiker.ch>
Wed, 26 Feb 2014 05:21:38 +0000 (06:21 +0100)
commitfe5778fcc63c6ac135e7d1af18e72ecf5d34858d
tree70edf55d3e91ca529a7f07a22724493d71b35578
parent154290c0015b6ee8e8867d89666ab2d0a008d9ff
autogen.sh: use POSIX comparison for test

Although bash recognizes ==, and the shell has a shebang to use it, some
of us still automatically type "sh autogen.sh" instead of
"./autogen.sh", and this breaks on debian/jessie where /bin/sh is not
bash.  The fix is trivial and should be safe for bash too (which
recommends using = instead of == with the test command for POSIX
conformance.
autogen.sh