From 2a8713449ba6d09bf6ffcd47496509f7352ef7d7 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Wed, 11 Oct 2006 14:01:18 +0000 Subject: [PATCH] test expects =, not == [[Imported from SVN: r4717]] --- bin/dunemodules.inc | 2 +- bin/duneproject | 4 ++-- bin/mpi-config | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/dunemodules.inc b/bin/dunemodules.inc index 3f40cc7b5..861df619f 100644 --- a/bin/dunemodules.inc +++ b/bin/dunemodules.inc @@ -25,7 +25,7 @@ parse_control() { fi # read parameters from control file local name=$(echo $(grep Module: "$1" | cut -d ':' -f2)) - if test "x$name" == "x"; then + if test "x$name" = "x"; then echo "ERROR: $CONTROL files $1 does not contain a Module entry" exit 1 fi diff --git a/bin/duneproject b/bin/duneproject index b9e86395d..e8c434c46 100755 --- a/bin/duneproject +++ b/bin/duneproject @@ -158,14 +158,14 @@ for OPT in "\$@"; do case "\$OPT" in --ac=*|--acversion=*) - if test "x\$arg" == "x"; then + if test "x\$arg" = "x"; then usage; exit 1; fi ACVERSION=\$arg ;; --am=*|--amversion=*) - if test "x\$arg" == "x"; then + if test "x\$arg" = "x"; then usage; exit 1; fi diff --git a/bin/mpi-config b/bin/mpi-config index 2044273dd..ef097f988 100755 --- a/bin/mpi-config +++ b/bin/mpi-config @@ -78,7 +78,7 @@ while test $# -gt 0 ; do shift done -if test x$MPICC == x ; then +if test x$MPICC = x ; then MPICC=mpicc fi @@ -129,7 +129,7 @@ print_mpiversion() { print_cflags() { get_mpiparameters - if test x$disablecxx == xyes; then + if test x$disablecxx = xyes; then MPI_CPPFLAGS="$MPI_CPPFLAGS $MPI_NOCXXFLAGS" fi echo $MPI_CPPFLAGS -- GitLab