diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-15 12:39:28 -0400 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-15 12:39:28 -0400 |
commit | 94f45d08c3c9db275aae5cb47e948b8c6824c384 (patch) | |
tree | ba76ab5ee74ebf52068ba45fd6db5fe28b84723a | |
parent | 6513ac64f6c33223da753d7a3665cedcc225faaf (diff) | |
download | txr-94f45d08c3c9db275aae5cb47e948b8c6824c384.tar.gz txr-94f45d08c3c9db275aae5cb47e948b8c6824c384.tar.bz2 txr-94f45d08c3c9db275aae5cb47e948b8c6824c384.zip |
* configure: POSIX Portability. Use = instead of ==
in test expressions. This was revealed by ubuntu's dash.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2011-10-15 Kaz Kylheku <kaz@kylheku.com> + + * configure: POSIX Portability. Use = instead of == + in test expressions. This was revealed by ubuntu's dash. + 2011-10-13 Kaz Kylheku <kaz@kylheku.com> * parser.y (elem): Amending previous change. A single space @@ -630,7 +630,7 @@ char sizeof_longlong_t[sizeof (longlong_t)]; while read symbol type offset size ; do eval "size=$(( 0$size + 0 ))" symbol=${symbol#_} - if [ $type == "C" ] ; then + if [ "$type" = "C" ] ; then size=$offset fi case "$symbol" in @@ -704,7 +704,7 @@ char sizeof_wchar_t[sizeof (wchar_t)]; while read symbol type offset size ; do eval "size=$(( 0$size + 0 ))" symbol=${symbol#_} - if [ $type == "C" ] ; then + if [ "$type" = "C" ] ; then size=$offset fi case "$symbol" in |