diff --git a/Makefile.am b/Makefile.am
index a263462..ff00638 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -359,14 +359,14 @@ src/include/switch_version.h: src/include/switch_version.h.in .version $(libfree
 	else \
 	  if [ -d .git ] ; then \
 	    version=`git log --format="%h %ci" -1 HEAD | head -1 | sed -e 's|:|-|g' || echo hacked` ; \
-	    if [ "x$$version" == "xhacked" ] ; then \
+	    if [ "x$$version" = "xhacked" ] ; then \
 	      version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
 	    else \
 	      version="git-$$version" ; \
 	    fi ;\
 	  else \
 	    version=`svnversion . -n || echo hacked` ; \
-	    if [ "x$$version" == "xhacked" ] ; then \
+	    if [ "x$$version" = "xhacked" ] ; then \
 	      version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
 	    else \
 	      version="svn-$$version" ; \
diff --git a/bootstrap.sh b/bootstrap.sh
index 59a5687..0ea5cd4 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -341,7 +341,7 @@ rm -rf autom4te*.cache
 
 echo "Entering directory ${LIBDIR}/apr-util"
 cd ${LIBDIR}/apr-util
-if [ "${BGJOB}" == "false" ] ; then
+if [ "${BGJOB}" = "false" ] ; then
 	./buildconf
 else
 	./buildconf &
@@ -350,14 +350,14 @@ fi
 
 for i in ${SUBDIRS}
 do
-  if [ "${BGJOB}" == "false" ] ; then
+  if [ "${BGJOB}" = "false" ] ; then
   	libbootstrap ${i}
   else
 	libbootstrap ${i} &
   fi
 done
 
-if [ "${BGJOB}" == "true" ] ; then
+if [ "${BGJOB}" = "true" ] ; then
 	wait
 fi
 cd ${BASEDIR}


