OsmAnd/build-scripts/update_site.sh
Victor Shcherb 698e88761e Update
2011-12-26 17:55:17 +01:00

10 lines
242 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