mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 12:23:55 +00:00
removed redundant sourcing of env.sh
This commit is contained in:
1 parent
0fd65ae5cb
commit
747f581364
1 file changed
-10
@@ -217,18 +217,8 @@ if [[ "$@" == "release" ]]; then
|
||||
cp -rv $PROJECT_HOME/configuration/native-libraries $ACDIR/
|
||||
cp -v $PROJECT_HOME/configuration/buildAndUpdateProduct.sh $ACDIR/
|
||||
|
||||
# make sure to save the information from env.sh
|
||||
. $ACDIR/env.sh
|
||||
|
||||
echo "$VERSION_INFO System:" > $ACDIR/configuration/jetty/version.txt
|
||||
|
||||
sed -i "/mongo.host/d" "$ACDIR/configuration/config.ini"
|
||||
sed -i "/mongo.port/d" "$ACDIR/configuration/config.ini"
|
||||
sed -i "/expedition.udp.port/d" "$ACDIR/configuration/config.ini"
|
||||
sed -i "/replication.exchangeName/d" "$ACDIR/configuration/config.ini"
|
||||
sed -i "/replication.exchangeHost/d" "$ACDIR/configuration/config.ini"
|
||||
sed -i "s/^.*jetty.port.*$/<Set name=\"port\"><Property name=\"jetty.port\" default=\"$SERVER_PORT\"\/><\/Set>/g" "$ACDIR/configuration/jetty/etc/jetty-selector.xml"
|
||||
|
||||
if [[ $OSGI_BUNDLE_NAME != "" ]]; then
|
||||
SIMPLE_VERSION_INFO=$OSGI_BUNDLE_NAME
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user