#!/bin/sh if [ -n "$1" ]; then variable="$1" elif [ -n "$HELLO_WORLD_VALUE" ]; then variable="$HELLO_WORLD_VALUE" else variable="World" fi echo "Hello $variable"