Skip to content

Commit

Permalink
Merge pull request #2012 from Pinata-Consulting/makefile-make-issue-s…
Browse files Browse the repository at this point in the history
…cripts-gaffe

makefile: make issue now uses SCRIPTS_DIR bundled into .tar.gz
  • Loading branch information
maliberty committed May 16, 2024
2 parents 4ea3a03 + 001535c commit 53469e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flow/util/generate-vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ while read -r VAR; do
fi

# convert absolute paths if possible to use FLOW_HOME variable
if [[ "${name}" == *"SCRIPTS_DIR"* ]]; then
value=$(sed -e "s,${FLOW_ROOT},.,g" <<< "${value}")
fi
value=$(sed -e "s,${FLOW_ROOT},\${FLOW_HOME},g" <<< "${value}")
value=$(sed -e "s,${ORFS_ROOT},\${FLOW_HOME}/\.\.,g" <<< "${value}")

Expand Down

0 comments on commit 53469e8

Please sign in to comment.