mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 13:20:57 +00:00
Merge remote-tracking branch 'server/master'
This commit is contained in:
commit
dc4e7f54fe
1 file changed
+4
-4
@@ -146,15 +146,15 @@ if [[ "$@" == "hot-deploy" ]]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
if [[ $HAS_OVERWRITTEN_TARGET -eq 1 ]]; then
|
||||
active_branch=$TARGET_SERVER_NAME
|
||||
fi
|
||||
|
||||
if [ ! -d $SERVERS_HOME/$active_branch/plugins ]; then
|
||||
echo "Could not find target directory $SERVERS_HOME/$active_branch/plugins!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [[ $HAS_OVERWRITTEN_TARGET -eq 1 ]]; then
|
||||
active_branch=$TARGET_SERVER_NAME
|
||||
fi
|
||||
|
||||
# locate old bundle
|
||||
BUNDLE_COUNT=`find $SERVERS_HOME/$active_branch/plugins -maxdepth 1 -name "${OSGI_BUNDLE_NAME}_*.jar" | wc -l`
|
||||
OLD_BUNDLE=`find $SERVERS_HOME/$active_branch/plugins -maxdepth 1 -name "${OSGI_BUNDLE_NAME}_*.jar"`
|
||||
|
||||
Reference in new issue
Block a user