Mercurial > hg > openttd
changeset 18666:9fd7b682ac3f draft
(svn r23514) -Fix: squirrel_export.sh failed for svn working copies.
author | frosch <frosch@openttd.org> |
---|---|
date | Wed, 14 Dec 2011 19:59:49 +0000 |
parents | c0386ed45f95 |
children | 97c292c24384 |
files | src/script/api/squirrel_export.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/script/api/squirrel_export.sh +++ b/src/script/api/squirrel_export.sh @@ -26,7 +26,7 @@ # Check if we are in the root directory of the API, as then we generate all APIs if [ "$apilc" = "script" ]; then - for api in `find -type d | cut -b3-`; do + for api in `find -type d | cut -b3- | grep -v '\.svn\|/'`; do if [ -z "$api" ]; then continue; fi echo "Generating for API '$api' ..." cd $api