OsmAnd/build-scripts/update_site.sh

11 lines
239 B
Bash
Raw Normal View History

2011-08-29 03:13:59 +02:00
#!/bin/sh
DIRECTORY=$(cd `dirname $0` && pwd)
GIT_SITE_DIR=$DIRECTORY/osmand-git/config/site
LOCAL_SITE_DIR=/var/www-download
files='*.php tile_sources.xml favicon.ico'
for f in $files ; do
cp $GIT_SITE_DIR/$f $LOCAL_SITE_DIR/ -u;
done