#!/bin/bash project_dir=$(dirname "${BASH_SOURCE[0]}") echo $project_dir cd "$project_dir" || exit args= for i in "$@" do args+="$i " done if [ ${#@} -eq 0 ]; then ./gradlew :daemon:startBisqApp else ./gradlew :daemon:startBisqApp --args \"\""$args"\"\" fi