Skip to content

Commit 7922ce7

Browse files
authored
Merge pull request #8257 from jaypea/patch-1
Docker: use correct MAVEN_CONFIG
2 parents 7e9deed + d80cfcb commit 7922ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pattern="@Command(name = \"$1\""
1414
if expr "x$1" : 'x[a-z][a-z-]*$' > /dev/null && fgrep -qe "$pattern" "$cmdsrc"/*.java || expr "$1" = 'help' > /dev/null; then
1515
# If ${GEN_DIR} has been mapped elsewhere from default, and that location has not been built
1616
if [[ ! -f "${codegen}" ]]; then
17-
(cd "${GEN_DIR}" && exec mvn -am -pl "modules/swagger-codegen-cli" -Duser.home=$(dirname MAVEN_CONFIG) package)
17+
(cd "${GEN_DIR}" && exec mvn -am -pl "modules/swagger-codegen-cli" -Duser.home=$(dirname $MAVEN_CONFIG) package)
1818
fi
1919
command=$1
2020
shift

0 commit comments

Comments
 (0)