#!/bin/bash ARCH=x86 case $ARCH in x86) FOO=5;; *) BAR=10;; esac echo FOO=$FOO BAR=$BAR