|
@@ -3,11 +3,10 @@
|
|
|
RVER=4.0.41
|
|
|
RESIN=resin-$RVER
|
|
|
RESIN_HOME=$IROOT/$RESIN
|
|
|
-INSTALLED=$RESIN_HOME.installed
|
|
|
-RETCODE=$(fw_exists ${INSTALLED})
|
|
|
+RETCODE=$(fw_exists ${RESIN_HOME}.installed)
|
|
|
[ ! "$RETCODE" == 0 ] || { \
|
|
|
# Load environment variables
|
|
|
- source $INSTALLED
|
|
|
+ source $RESIN_HOME.installed
|
|
|
return 0; }
|
|
|
|
|
|
fw_depends java7
|
|
@@ -26,8 +25,7 @@ cat $FWROOT/config/resin.properties > conf/resin.properties
|
|
|
mv conf/resin.xml conf/resin.xml.orig
|
|
|
cat $FWROOT/config/resin.xml > conf/resin.xml
|
|
|
|
|
|
-echo "export RESIN_HOME=${RESIN_HOME}" > $INSTALLED
|
|
|
-echo "export PATH=${RESIN_HOME}/bin:$PATH" >> $INSTALLED
|
|
|
-chmod +x $INSTALLED
|
|
|
+echo "export RESIN_HOME=${RESIN_HOME}" > $RESIN_HOME.installed
|
|
|
+echo "export PATH=${RESIN_HOME}/bin:$PATH" >> $RESIN_HOME.installed
|
|
|
|
|
|
-source $INSTALLED
|
|
|
+source $RESIN_HOME.installed
|