From: Kamil Rytarowski Date: Wed, 6 Sep 2017 16:48:49 +0000 (+0200) Subject: Correct shell compatibility issue detected with pkgsrc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a102602bc56e418f9794d653ef103a65f08a5a49;p=binutils-gdb.git 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 * config/djgpp/djconfig.sh: Correct shell portability issue. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 91784031ffa..ed665479660 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-06 Kamil Rytarowski + + * config/djgpp/djconfig.sh: Correct shell portability issue. + 2017-09-06 Kamil Rytarowski * configure.nat: Define HAVE_NATIVE_GCORE_HOST on NetBSD. diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh index 6c0d8698e84..dbaf8f5d76d 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