diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 1da8c1a860..d00fda1108 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -450,7 +450,7 @@ while [ true ] ; do if test x$STRIP != x ; then # NSS is dynamically loaded, symbols cannot be stripped - if [[ $file = "libnspr4.dylib" -o $file = "libplds4.dylib" ]] ; then + if test "$file" = "libnspr4.dylib" -o "$file" = "libplds4.dylib"; then # only remove debug and local symbols strip -S -x -u -r -arch all $file &>/dev/null else