openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1806765 - /openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh
Date Thu, 31 Aug 2017 08:46:35 GMT
Author: struberg
Date: Thu Aug 31 08:46:35 2017
New Revision: 1806765

URL: http://svn.apache.org/viewvc?rev=1806765&view=rev
Log:
MEECROWAVE-57 export MEECROWAVE_BASE to make it available in System.env()

Can be useful to e.g. read files from meecrowave:bundle ./conf/ directory

Modified:
    openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh

Modified: openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh?rev=1806765&r1=1806764&r2=1806765&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh
Thu Aug 31 08:46:35 2017
@@ -51,7 +51,7 @@ PRGDIR=`dirname "$PRG"`
 [ -z "$MEECROWAVE_HOME" ] && MEECROWAVE_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
 
 # Copy MEECROWAVE_BASE from MEECROWAVE_HOME if not already set
-[ -z "$MEECROWAVE_BASE" ] && MEECROWAVE_BASE="$MEECROWAVE_HOME"
+[ -z "$MEECROWAVE_BASE" ] && export MEECROWAVE_BASE="$MEECROWAVE_HOME"
 
 # Ensure that any user defined CLASSPATH variables are not used on startup,
 # but allow them to be specified in setenv.sh, in rare case when it is needed.



Mime
View raw message