Skip to content

Commit

Permalink
makefile: make issue now uses SCRIPTS_DIR bundled into .tar.gz
Browse files Browse the repository at this point in the history
The reason scripts are bundled into .tar.gz is to capture the exact state of the
scripts and make the bug-report standalone.

This should solve occasional failures to reproduce when ORFS does not match
the version that was used when make issue was invoked

Signed-off-by: Øyvind Harboe <[email protected]>
  • Loading branch information
oharboe committed May 16, 2024
1 parent 4ea3a03 commit 001535c
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 001535c

Please sign in to comment.