OsmAnd/build-scripts/update_site.sh
2011-12-26 17:29:08 +01:00

10 lines
239 B
Bash
Executable file

#!/bin/sh
DIRECTORY=$(cd `dirname $0` && pwd)
GIT_SITE_DIR=$DIRECTORY/config/site
LOCAL_SITE_DIR=/var/www-download
files='*.php resource/* tile_sources.xml favicon.ico'
for f in $files ; do
cp $GIT_SITE_DIR/$f $LOCAL_SITE_DIR/ -u;
done