OsmAnd/build-scripts/update_site.sh
2011-08-29 03:13:59 +02:00

10 lines
239 B
Bash
Executable file

#!/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