Skip to content

Commit e2391ed

Browse files
committed
fix shellcheck
1 parent 4d0b38f commit e2391ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Samples/JavaDependencySampleApp/ci-validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ JAVASWIFT="../../.build/debug/Java2Swift"
44

55
MODULE_NAME="JavaCommonsCSV"
66
MODULE_CONFIG_DIR=$(pwd)/Sources/$MODULE_NAME/
7-
MODULE_CONFIG_PATH="$MODULE_CONFIG_DIR/swift-java.config"
87

98
### 1) downloads all the dependencies
109
"$JAVASWIFT" --fetch "$MODULE_CONFIG_DIR/swift-java.config" \
1110
--module-name "$MODULE_NAME" \
1211
--output-directory "$MODULE_CONFIG_DIR"
1312

1413
#### 2) extract the config for the fetched dependency
14+
#MODULE_CONFIG_PATH="$MODULE_CONFIG_DIR/swift-java.config"
1515
#DEP_JAR_CP=$(jq .classpath "$MODULE_CONFIG_PATH")
1616
#DEP_JAR_CP=$(echo "$DEP_JAR_CP" | tr -d '"') # trim the "..."
1717
## shellcheck disable=SC2086

Samples/JavaSieve/ci-validate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
echo "Prepare the dependency..."
44
git clone https://github.com/gazman-sdk/quadratic-sieve-Java
5-
cd quadratic-sieve-Java
5+
cd quadratic-sieve-Java || exit
66
sh ./gradlew jar
7-
cd ..
7+
cd .. || exit
88

99
echo "Run the sample..."
1010
swift run JavaSieve

0 commit comments

Comments
 (0)