diff options
author | Kamil Rytarowski <n54@gmx.com> | 2017-09-06 18:48:49 +0200 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2017-09-06 18:52:08 +0200 |
commit | a102602bc56e418f9794d653ef103a65f08a5a49 (patch) | |
tree | e43720d3bdd6d6506b72b8875e44798779ac3335 | |
parent | 8f8f815255bf36800cdfff93fd88a62aaa39ce16 (diff) | |
download | gdb-a102602bc56e418f9794d653ef103a65f08a5a49.zip gdb-a102602bc56e418f9794d653ef103a65f08a5a49.tar.gz gdb-a102602bc56e418f9794d653ef103a65f08a5a49.tar.bz2 |
Correct shell compatibility issue detected with pkgsrc.
String comparison of in a POSIX bourne shell must be done
with '=', not '=='. For example the NetBSD sh(1) does not
support it.
gdb/ChangeLog
2017-09-06 Kamil Rytarowski <n54@gmx.com>
* config/djgpp/djconfig.sh: Correct shell portability issue.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/config/djgpp/djconfig.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9178403..ed66547 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2017-09-06 Kamil Rytarowski <n54@gmx.com> + * config/djgpp/djconfig.sh: Correct shell portability issue. + +2017-09-06 Kamil Rytarowski <n54@gmx.com> + * configure.nat: Define HAVE_NATIVE_GCORE_HOST on NetBSD. 2017-09-06 John Baldwin <jhb@FreeBSD.org> diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh index 6c0d869..dbaf8f5 100644 --- a/gdb/config/djgpp/djconfig.sh +++ b/gdb/config/djgpp/djconfig.sh @@ -92,7 +92,7 @@ TMPFILE="${TMPDIR-.}/cfg.tmp" # We need to skip the build directory if it is a subdirectory of $srcdir, # otherwise we will have an infinite recursion on our hands... -if test "`pwd`" == "${srcdir}" ; then +if test "`pwd`" = "${srcdir}" ; then SKIPDIR="" SKIPFILES="" else |