ports/sysutils/puppetserver5/files/patch-ext__cli_defaults__cli-defaults.sh
Romain Tartière 2c161b1aec Update to 5.3.6
Release notes:
https://puppet.com/docs/puppetserver/5.3/release_notes.html#puppet-server-536

While here, remove useless build depends and regenerate patches with make
makepatch.

With hat:	puppet
2018-10-26 10:25:05 +00:00

11 lines
413 B
Bash

--- ext/cli_defaults/cli-defaults.sh.orig 2018-08-21 16:07:05 UTC
+++ ext/cli_defaults/cli-defaults.sh
@@ -1,6 +1,6 @@
-INSTALL_DIR="/opt/puppetlabs/server/apps/puppetserver"
+INSTALL_DIR="%%DATADIR%%"
-JRUBY_JAR="${JRUBY_JAR:-${INSTALL_DIR}/jruby-1_7.jar}"
+JRUBY_JAR="${JRUBY_JAR:-${INSTALL_DIR}/jruby-9k.jar}"
if [ ! -e "$JRUBY_JAR" ]; then
echo "Unable to find specified JRUBY_JAR: ${JRUBY_JAR}" 1>&2