Skip to content

Commit edd9fb9

Browse files
committed
Minor fixes like typos
1 parent 0bd32f6 commit edd9fb9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/prepareAnalysis.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ fi
2222

2323
# Get the "cypher" directory by taking the path of this script, going one directory up and then into "cypher".
2424
CYPHER_DIR=${CYPHER_DIR:-"${SCRIPTS_DIR}/../cypher"} # Repository directory containing the cypher queries
25-
echo "prepareAnalysis: CYPHER_DIR=$CYPHER_DIR"
25+
echo "prepareAnalysis: CYPHER_DIR=${CYPHER_DIR}"
2626

2727
# Define functions to execute a cypher query from within the given file (first and only argument)
2828
source "${SCRIPTS_DIR}/executeQueryFunctions.sh"
2929

3030
# Local Constants
31-
PACKAGE_WEIGHTS_CYPHER_DIR="$CYPHER_DIR/Package_Relationship_Weights"
32-
PACKAGE_METRICS_CYPHER_DIR="$CYPHER_DIR/Metrics"
33-
EXTERNAL_DEPENDENCIES_CYPHER_DIR="$CYPHER_DIR/External_Dependencies"
34-
ARTIFACT_DEPENDENCIES_CYPHER_DIR="$CYPHER_DIR/Artifact_Dependencies"
31+
PACKAGE_WEIGHTS_CYPHER_DIR="${CYPHER_DIR}/Package_Relationship_Weights"
32+
PACKAGE_METRICS_CYPHER_DIR="${CYPHER_DIR}/Metrics"
33+
EXTERNAL_DEPENDENCIES_CYPHER_DIR="${CYPHER_DIR}/External_Dependencies"
34+
ARTIFACT_DEPENDENCIES_CYPHER_DIR="${CYPHER_DIR}/Artifact_Dependencies"
3535

36-
# Preparation - Create indizes
36+
# Preparation - Create indices
3737
execute_cypher "${CYPHER_DIR}/Create_index_for_full_qualified_type_name.cypher"
3838

3939
# Preparation - Create DEPENDS_ON for every DEPENDS_ON_PACKAGE relationship
@@ -52,7 +52,7 @@ execute_cypher_expect_results "${PACKAGE_METRICS_CYPHER_DIR}/Set_Outgoing_Packag
5252

5353
# Preparation - Label external types and annotations
5454
# "external" means that there is no byte code available, not a primitive type and not a java type
55-
# "annoatation" means that there is a ANNOTATED_BY to that external type
55+
# "annotation" means that there is a ANNOTATED_BY to that external type
5656
execute_cypher "${EXTERNAL_DEPENDENCIES_CYPHER_DIR}/Remove_external_type_and_annotation_labels.cypher"
5757
execute_cypher "${EXTERNAL_DEPENDENCIES_CYPHER_DIR}/Label_external_types_and_annotations.cypher"
5858

0 commit comments

Comments
 (0)