I have a Bash script that builds a string to run as a command
Script:
#! /bin/bash
matchdir=\"/home/joao/robocup/runner_workdir/mat
Here is my gradle build script that executes strings stored in heredocs:
current_directory=$( realpath "." )
GENERATED=${current_directory}/"GENERATED"
build_gradle=$( realpath build.gradle )
## touch because .gitignore ignores this folder:
touch $GENERATED
COPY_BUILD_FILE=$( cat <
The lone ")" are kind of ugly. But I have no clue how to fix that asthetic aspect.