#! /bin/bash . portal-env.sh cd "${PORTAL_HOME}/portal_client" #use terminal for the serve command case $1 in serve|onlyServe) $terminal grunt $* & ;; *) grunt $* & ;; esac