blob: 172eaa7cf9d0e154937a6dae863cad32e2d98663 [file] [log] [blame]
#set variables
source properties.shsource
# save away a clean version of this site file, produced during mirroring commands,
# with all the latest version numbers
mv ${updateSite}/site.xml ${updateSite}/.site.xml
# merge authored site.xml with the autogenerated one
# remember, this 'site.xml' is just the output of mirror command, when ran in context
# merges newFeautes in to authored, back in original locaion
java -jar siteFileUpdater.jar ${in_authored} ${in_newFeatures}
# copy to discovery site
# Note: here we are changing names from site specific site file name, to generic site.xml
rsync -p ${in_authored} ${updateSite}/site.xml
rm ${in_newFeatures}