if [ $foo ]; then
    thing1
fi