summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tools/niminst/buildsh.nimf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/niminst/buildsh.nimf b/tools/niminst/buildsh.nimf
index 5f1db9cd3..7a05ef342 100644
--- a/tools/niminst/buildsh.nimf
+++ b/tools/niminst/buildsh.nimf
@@ -164,7 +164,7 @@ esac
 
 case $ucpu in
   *i386* | *i486* | *i586* | *i686* | *bepc* | *i86pc* )
-    if [ isOpenIndiana -eq "yes" ] ; then
+    if [ "$isOpenIndiana" = "yes" ] ; then
       mycpu="amd64"
     else
       mycpu="i386"