Skip to content

Commit 4be27fe

Browse files
committed
Make gradlew work with whitespace paths on linux too. #14598
1 parent d6e965c commit 4be27fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
222222
fi
223223

224224
GRADLE_WRAPPER_JAR="$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
225-
if ! ( cd $APP_HOME/gradle/wrapper && sha256sum --status -c ${GRADLE_WRAPPER_JAR}.sha256 ); then
225+
if ! ( cd "$APP_HOME/gradle/wrapper" && sha256sum --status -c "${GRADLE_WRAPPER_JAR}.sha256" ); then
226226
"$JAVACMD" $JAVA_OPTS "$APP_HOME/build-tools/build-infra/src/main/java/org/apache/lucene/gradle/WrapperDownloader.java" "$GRADLE_WRAPPER_JAR"
227227
WRAPPER_STATUS=$?
228228
if [ "$WRAPPER_STATUS" -eq 1 ]; then

0 commit comments

Comments
 (0)