updating the site files
This commit is contained in:
parent
1bd9cdbe8f
commit
033e0393f4
2 changed files with 12 additions and 1 deletions
|
@ -27,4 +27,5 @@ git pull --rebase 2>&1 >>$LOG_FILE
|
|||
# 4. Synchronize github with googlecode mercurial
|
||||
"${DIRECTORY}/sync_git_google.sh" 2>&1 >>$LOG_FILE
|
||||
|
||||
|
||||
# 5. update site files
|
||||
"${DIRECTORY}/update_site.sh" 2>&1 >>$LOG_FILE
|
||||
|
|
10
build-scripts/update_site.sh
Executable file
10
build-scripts/update_site.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/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
|
Loading…
Reference in a new issue