$NetBSD: patch-storage_rocksdb_rocksdb_build__tools_fb__compile__mongo.sh,v 1.1 2021/05/08 19:47:16 jdolecek Exp $

Shell portability.

--- storage/rocksdb/rocksdb/build_tools/fb_compile_mongo.sh.orig	2021-02-18 23:22:28.000000000 +0000
+++ storage/rocksdb/rocksdb/build_tools/fb_compile_mongo.sh
@@ -13,7 +13,7 @@ EXTRA_LDFLAGS=""
 if test -z $ALLOC; then
   # default
   ALLOC=tcmalloc
-elif [[ $ALLOC == "jemalloc" ]]; then
+elif [ $ALLOC = "jemalloc" ]; then
   ALLOC=system
   EXTRA_LDFLAGS+=" -Wl,--whole-archive $JEMALLOC_LIB -Wl,--no-whole-archive"
 fi
