Skip to content
Snippets Groups Projects
Commit 2a871344 authored by Christian Engwer's avatar Christian Engwer
Browse files

test expects =, not ==

[[Imported from SVN: r4717]]
parent 670271c6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment