summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-09-25 08:00:58 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2015-09-26 15:36:15 +0200
commitd9378e64499642e86989158f274372187314d5b2 (patch)
tree1dd11fe349c93809782208ff99252ae2d0ad58a3 /src/conf_macros.m4
parentf3d84d2b6f95ac68142a8f2dd757a83eddeb1abd (diff)
downloadsssd-d9378e64499642e86989158f274372187314d5b2.tar.gz
sssd-d9378e64499642e86989158f274372187314d5b2.tar.xz
sssd-d9378e64499642e86989158f274372187314d5b2.zip
CONFIGURE: Remove bashism
There were errors in configure script when /bin/sh was not bash ./configure: 15889: test: xfedora: unexpected operator ./configure: 19981: test: xyes: unexpected operator ./configure: 23103: test: x1: unexpected operator The equality operator "==" works in bash but it's not a standard. The man page test(1) also does not mention it. There is only short version "=" STRING1 = STRING2 the strings are equal
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r--src/conf_macros.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index cd731e605..619d27ccf 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -182,7 +182,7 @@ AC_DEFUN([WITH_INIT_DIR],
]
)
initdir="${sysconfdir}/rc.d/init.d"
- if test x$osname == xgentoo; then
+ if test x$osname = xgentoo; then
initdir="${sysconfdir}/init.d"
fi
if test x"$with_init_dir" != x; then