mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-26 13:27:52 +03:00
18 lines
269 B
Bash
Executable File
18 lines
269 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DATE=$(date +%Y%m%d)
|
|
MODULE="$(basename $0 -svn.sh)"
|
|
SVNROOT=http://svn.openstreetmap.org/applications/utils/nominatim/
|
|
|
|
set -x
|
|
rm -rf $MODULE
|
|
|
|
svn export $SVNROOT $MODULE/
|
|
|
|
## tar it up
|
|
tar cjf $MODULE-${DATE}svn.tar.bz2 $MODULE
|
|
|
|
## cleanup
|
|
rm -rf $MODULE
|
|
|