#!/bin/bash BASEDIR=$(dirname "$0") cd "$BASEDIR" cd "components/jannex" # pass -y if it was passed to this script if [ "$1" = "-y" ]; then sh get_publisher.sh -y else sh get_publisher.sh fi