localization rpm siteConfig.py moved form edex_static to common_static

This commit is contained in:
Michael James 2017-09-13 11:24:57 -06:00 committed by mjames-upc
parent c046693249
commit 48d42794cc
5 changed files with 12 additions and 43 deletions

View file

@ -22,7 +22,7 @@
import os, socket
GFESUITE_HOME = os.environ['EDEX_HOME']+"/../GFESuite"
GFESUITE_HOME = "/awips2/GFESuite"
GFESUITE_SERVER = "localhost"
GFESUITE_PORT = '98000000'
GFESUITE_SITEID = 'OAX'

View file

@ -1,31 +0,0 @@
##
# This software was developed and / or modified by Raytheon Company,
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
#
# U.S. EXPORT CONTROLLED TECHNICAL DATA
# This software product contains export-restricted data whose
# export/transfer/disclosure is restricted by U.S. law. Dissemination
# to non-U.S. persons whether in the United States or abroad requires
# an export license or other authorization.
#
# Contractor Name: Raytheon Company
# Contractor Address: 6825 Pine Street, Suite 340
# Mail Stop B8
# Omaha, NE 68106
# 402.291.0100
#
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
# further licensing information.
##
#THIS FILE GENERATED AUTOMATICALLY DURING GFE INSTALL **
import os, socket
GFESUITE_HOME = "/awips2/GFESuite"
GFESUITE_SERVER = "localhost"
GFESUITE_PORT = '98000000'
GFESUITE_SITEID = 'OAX'
GFESUITE_PRDDIR = GFESUITE_HOME+"/products"
GFESUITE_LOGDIR = GFESUITE_HOME+"/logs/"+GFESUITE_SITEID
GFESUITE_MHSID = 'OAX'

View file

@ -106,9 +106,9 @@ do
grep -rl 'LATITUDE' $CAVE_DIR | xargs sed -i 's/LATITUDE/'$lat'/g'
grep -rl 'LONGITUDE' $CAVE_DIR | xargs sed -i 's/LONGITUDE/'$lon'/g'
# EDEX
EDEX_DIR=$UTIL/edex_static/site/$site
EDEX_DIR=$UTIL/common_static/site/$site
mkdir -p $EDEX_DIR
cp -R $BUILD_DIR/utility/edex_static/* $EDEX_DIR/
cp -R $BUILD_DIR/utility/siteconfig/* $EDEX_DIR/
grep -rl 'XXX' $EDEX_DIR | xargs sed -i 's/XXX/'$site'/g'
done