diff options
-rw-r--r-- | tools/niminst/buildsh.nimf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/niminst/buildsh.nimf b/tools/niminst/buildsh.nimf index 5ec5d5c2c..e13221781 100644 --- a/tools/niminst/buildsh.nimf +++ b/tools/niminst/buildsh.nimf @@ -159,9 +159,10 @@ case $ucpu in COMP_FLAGS="$COMP_FLAGS -m64" LINK_FLAGS="$LINK_FLAGS -m64" mycpu=`uname -p` - if [ "$(mycpu)" = "powerpc64le"] ; then - mycpu="powerpc64el" - fi + case $mycpu in + powerpc64le) + mycpu="powerpc64el" + esac else mycpu="powerpc" fi |