Skip to content

Commit a387e23

Browse files
authored
Merge pull request #7 from neilcampbell/master
Fix issue with linux removing quotes from arguments
2 parents 5d9d871 + 497d8d9 commit a387e23

5 files changed

+5
-5
lines changed

packaging/pact-broker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
2222
unset BUNDLE_IGNORE_CONFIG
2323

2424
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
25-
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I$LIBDIR/app/lib "$LIBDIR/app/pact-broker.rb" $@
25+
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I$LIBDIR/app/lib "$LIBDIR/app/pact-broker.rb" "$@"

packaging/pact-mock-service.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
2222
unset BUNDLE_IGNORE_CONFIG
2323

2424
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
25-
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I$LIBDIR/app/lib "$LIBDIR/app/pact-mock-service.rb" $@
25+
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I$LIBDIR/app/lib "$LIBDIR/app/pact-mock-service.rb" "$@"

packaging/pact-provider-verifier.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ unset BUNDLE_IGNORE_CONFIG
2323
unset RUBYGEMS_GEMDEPS # See https://github.com/pact-foundation/pact-mock-service-npm/issues/16
2424

2525
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
26-
exec "$LIBDIR/ruby/bin/ruby" -rbundler/setup -rreadline -I$LIBDIR/app/lib "$LIBDIR/app/pact-provider-verifier.rb" $@
26+
exec "$LIBDIR/ruby/bin/ruby" -rbundler/setup -rreadline -I$LIBDIR/app/lib "$LIBDIR/app/pact-provider-verifier.rb" "$@"

packaging/pact-publish.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ unset BUNDLE_IGNORE_CONFIG
2323
unset RUBYGEMS_GEMDEPS # See https://github.com/pact-foundation/pact-mock-service-npm/issues/16
2424

2525
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
26-
exec "$LIBDIR/ruby/bin/ruby" -rbundler/setup -rreadline -I$LIBDIR/app/lib "$LIBDIR/app/pact-publish.rb" $@
26+
exec "$LIBDIR/ruby/bin/ruby" -rbundler/setup -rreadline -I$LIBDIR/app/lib "$LIBDIR/app/pact-publish.rb" "$@"

packaging/pact-stub-service.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
2222
unset BUNDLE_IGNORE_CONFIG
2323

2424
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
25-
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I$LIBDIR/app/lib "$LIBDIR/app/pact-stub-service.rb" $@
25+
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I$LIBDIR/app/lib "$LIBDIR/app/pact-stub-service.rb" "$@"

0 commit comments

Comments
 (0)