OsmAnd/build-scripts/update_site.sh

15 lines
363 B
Bash
Raw Normal View History

2011-08-29 03:13:59 +02:00
#!/bin/sh
DIRECTORY=$(cd `dirname $0` && pwd)
2011-12-26 17:55:17 +01:00
GIT_SITE_DIR=$DIRECTORY/../config/site
2011-08-29 03:13:59 +02:00
LOCAL_SITE_DIR=/var/www-download
2011-12-26 18:06:32 +01:00
files='*.php tile_sources.xml favicon.ico'
2011-08-29 03:13:59 +02:00
for f in $files ; do
cp $GIT_SITE_DIR/$f $LOCAL_SITE_DIR/ -u;
done
2011-12-26 18:06:32 +01:00
2011-12-26 18:10:02 +01:00
cp $GIT_SITE_DIR/resource/* $LOCAL_SITE_DIR/resource/ -u;
2012-01-14 00:21:42 +01:00
cp $GIT_SITE_DIR/GoogleAnalytics/* $LOCAL_SITE_DIR/GoogleAnalytics/ -u;
2011-12-26 18:06:32 +01:00