mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
Fix build
This commit is contained in:
@@ -117,13 +117,13 @@ get_sources(){
|
||||
echo "Sources will not be downloaded"
|
||||
return 0
|
||||
fi
|
||||
if [ ${IS_RELEASE_BRANCH} != 0 ]; then
|
||||
IS_RELEASE_BRANCH=$(echo ${BRANCH} | grep -c release);
|
||||
if [ ${IS_RELEASE_BRANCH} != 0 ]; then
|
||||
VERSION=$(echo $BRANCH | awk -F'-' '{print $2}')
|
||||
fi
|
||||
PRODUCT=percona-pg-stat-monitor${PG_RELEASE}
|
||||
PRODUCT_FULL=${PRODUCT}-${VERSION}
|
||||
IS_RELEASE_BRANCH=$(echo ${BRANCH} | grep -c release);
|
||||
|
||||
|
||||
echo "PRODUCT=${PRODUCT}" > pg-stat-monitor.properties
|
||||
echo "PRODUCT_FULL=${PRODUCT_FULL}" >> pg-stat-monitor.properties
|
||||
echo "VERSION=${VERSION}" >> pg-stat-monitor.properties
|
||||
|
||||
Reference in New Issue
Block a user