Skip to content

Commit fb5b003

Browse files
committed
scripts/PerfTest: Use -Dexec.args to pass command line args
Otherwise, command line arguments are interpreted by mvn(1). Note that this patch doesn't try to get arguments quoting right.
1 parent 47978a1 commit fb5b003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/PerfTest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ SRCDIR=$(cd "$SCRIPTDIR"/.. && pwd)
99
cd "$SRCDIR"
1010
mvn -q compile
1111
mvn -q exec:java \
12-
-Dexec.mainClass="com.rabbitmq.perf.PerfTest" "$@"
12+
-Dexec.mainClass="com.rabbitmq.perf.PerfTest" -Dexec.args="$@"
1313
)

0 commit comments

Comments
 (0)