diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-04-15 19:37:12 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-04-15 19:37:12 +0000 |
commit | bd09c194982761272a63dd1a6b2e2fbc2c1f973b (patch) | |
tree | b71c4d93a49877e4ae3abbec14f967d6b6603843 | |
parent | a117fb491c49ae96738dee036d140e316443ff7f (diff) | |
download | navit-svn-bd09c194982761272a63dd1a6b2e2fbc2c1f973b.tar.gz |
Core:Fix:Added comment about editing
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/src@1012 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rwxr-xr-x | script/wiki2def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/wiki2def b/script/wiki2def index aab730fb..ab834935 100755 --- a/script/wiki2def +++ b/script/wiki2def @@ -2,6 +2,8 @@ rm -f item_def.h.wiki rm -f osmmap_def.h.wiki IFS="|" +echo "/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */" >item_def.h.wiki +echo "/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */" >osmmap_def.h.wiki type="n" wget -O - "http://wiki.navit-project.org/index.php/Item_def.h?action=edit" | awk '/<textarea/,/<\/textarea/ { print $0 }' | @@ -28,9 +30,7 @@ do then for osmtag in $(echo "$osmtags" | sed 's/<br\/>/|/g') do - key=${osmtag%%=*} - value=${osmtag##*=} - printf '"%s\t%s\t%s\t%s\\n"\n' $type $key $value $item >> osmmap_def.h.wiki + printf '"%s\t%s\t%s\t%s\\n"\n' $type $osmtag $item >> osmmap_def.h.wiki done fi done |