We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21cae22 commit 47e7a2eCopy full SHA for 47e7a2e
flow/util/generate-vars.sh
@@ -7,11 +7,13 @@ ORFS_ROOT=$(realpath "${FLOW_HOME}/../")
7
# exclude system and CI variables
8
EXCLUDED_VARS="MAKE|MAKEFLAGS|PERL5LIB|QT_QPA_PLATFORM"
9
EXCLUDED_VARS+="|RESULTS_ODB|PUBLIC|ISSUE_SCRIPTS"
10
-EXCLUDED_VARS+="|HOME|PWD|MAIL|SHELL|NPROC|NUM_CORES"
+EXCLUDED_VARS+="|HOME|PWD|MAIL|SHELL|NPROC|NUM_CORES|FLOW_HOME"
11
EXCLUDED_VARS+="|UNSET_VARIABLES_NAMES|do-step|get_variables|do-copy"
12
13
EXCLUDED_PATTERNS="_EXE$|PATH$|_CMD$|\."
14
15
+echo 'export FLOW_HOME=${FLOW_HOME:-$(pwd)}' > $1.sh
16
+
17
while read -r VAR; do
18
if [[ ${VAR} != *"="* ]] ; then
19
# skip variables that do not have an equal sign
0 commit comments