Skip to content

Commit 174db8b

Browse files
tsteenbefviernau
authored andcommitted
Rename ORT_CONFIG_LICENSE_CONFIGURATION_FILE variable
Renaming so its name is aligned with the other ORT_CONFIG variable names. Signed-off-by: Thomas Steenbergen <[email protected]>
1 parent f0ea9c4 commit 174db8b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ort-scan:
134134
ORT_CONFIG_CURATIONS_FILE: "${ORT_CONFIG_DIR}/curations.yml"
135135
ORT_CONFIG_CURATIONS_DIR: "${ORT_CONFIG_DIR}/curations"
136136
ORT_CONFIG_CUSTOM_LICENSE_TEXTS_DIR: "${ORT_CONFIG_DIR}/custom-license-ids"
137-
ORT_CONFIG_LICENSE_CONFIGURATION_FILE: "${ORT_CONFIG_DIR}/license-classifications.yml"
137+
ORT_CONFIG_LICENSE_CLASSIFICATIONS_FILE: "${ORT_CONFIG_DIR}/license-classifications.yml"
138138
ORT_CONFIG_RESOLUTIONS_FILE: "${ORT_CONFIG_DIR}/resolutions.yml"
139139
ORT_CONFIG_RULES_FILE: "${ORT_CONFIG_DIR}/evaluator.rules.kts"
140140
ORT_CONFIG_PACKAGE_CONFIGURATION_DIR: "${ORT_CONFIG_DIR}/package-configurations"

scripts/ort-evaluator.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ else
1111
ORT_RESULTS_INPUT_FILE=$ORT_RESULTS_SCANNER_FILE
1212
fi
1313

14-
if [[ -f "$ORT_CONFIG_LICENSE_CONFIGURATION_FILE" ]]; then
15-
ORT_EVALUATOR_OPTIONS="--license-classifications-file $ORT_CONFIG_LICENSE_CONFIGURATION_FILE"
14+
if [[ -f "$ORT_CONFIG_LICENSE_CLASSIFICATIONS_FILE" ]]; then
15+
ORT_EVALUATOR_OPTIONS="--license-classifications-file $ORT_CONFIG_LICENSE_CLASSIFICATIONS_FILE"
1616
else
1717
ORT_EVALUATOR_OPTIONS=""
1818
fi

scripts/ort-reporter.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [[ -f "$ORT_HOW_TO_FIX_TEXT_PROVIDER_FILE" ]]; then
2929
ORT_REPORTER_OPTIONS="$ORT_REPORTER_OPTIONS --how-to-fix-text-provider-script $ORT_HOW_TO_FIX_TEXT_PROVIDER_FILE"
3030
fi
3131

32-
if [[ -f "$ORT_CONFIG_LICENSE_CONFIGURATION_FILE" ]]; then
33-
ORT_REPORTER_OPTIONS="$ORT_REPORTER_OPTIONS --license-classifications-file $ORT_CONFIG_LICENSE_CONFIGURATION_FILE"
32+
if [[ -f "$ORT_CONFIG_LICENSE_CLASSIFICATIONS_FILE" ]]; then
33+
ORT_REPORTER_OPTIONS="$ORT_REPORTER_OPTIONS --license-classifications-file $ORT_CONFIG_LICENSE_CLASSIFICATIONS_FILE"
3434
fi
3535

3636
if [[ -d "$ORT_CONFIG_PACKAGE_CONFIGURATION_DIR" ]]; then

0 commit comments

Comments
 (0)