File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
SCRIPT=" $0 "
4
- SCALA_RUNNER_VERSION=$( scala ./bin/Version.scala)
5
4
6
5
while [ -h " $SCRIPT " ] ; do
7
6
ls=` ls -ld " $SCRIPT " `
@@ -19,14 +18,15 @@ if [ ! -d "${APP_DIR}" ]; then
19
18
fi
20
19
21
20
cd $APP_DIR
21
+ SCALA_RUNNER_VERSION=$( scala ./bin/Version.scala)
22
22
23
23
24
24
# if you've executed sbt assembly previously it will use that instead.
25
25
export JAVA_OPTS=" ${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
26
26
ags=" $@ "
27
27
28
28
if [ -f $APP_DIR /target/scala-$SCALA_RUNNER_VERSION /swagger-codegen.jar ]; then
29
- scala -cp target/scala-$SCALA_RUNNER_VERSION /swagger-codegen.jar $ags
29
+ scala -cp $APP_DIR / target/scala-$SCALA_RUNNER_VERSION /swagger-codegen.jar $ags
30
30
else
31
31
echo " Please set scalaVersion := \" $SCALA_RUNNER_VERSION \" in build.sbt and run ./sbt assembly"
32
32
fi
You can’t perform that action at this time.
0 commit comments