Skip to content

Commit 59c2b9f

Browse files
committed
Merge pull request #431 from ht290/master
Made -agentlib options before the classpath in the bash script.
2 parents b8b8248 + 861adec commit 59c2b9f

File tree

1 file changed

+1
-1
lines changed
  • src/main/resources/com/typesafe/sbt/packager/archetypes

1 file changed

+1
-1
lines changed

src/main/resources/com/typesafe/sbt/packager/archetypes/bash-template

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ process_args () {
222222

223223
-java-home) require_arg path "$1" "$2" && java_cmd="$2/bin/java" && shift 2 ;;
224224

225-
-D*) addJava "$1" && shift ;;
225+
-D*|-agentlib*) addJava "$1" && shift ;;
226226
-J*) addJava "${1:2}" && shift ;;
227227
*) addResidual "$1" && shift ;;
228228
esac

0 commit comments

Comments
 (0)