mirror of https://github.com/OpenTTD/OpenTTD
(svn r23514) -Fix: squirrel_export.sh failed for svn working copies.
parent
e0974b8632
commit
7f3227cd5c
|
@ -26,7 +26,7 @@ apilc=`pwd | sed "s@/api@@;s@.*/@@"`
|
||||||
|
|
||||||
# Check if we are in the root directory of the API, as then we generate all APIs
|
# Check if we are in the root directory of the API, as then we generate all APIs
|
||||||
if [ "$apilc" = "script" ]; then
|
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
|
if [ -z "$api" ]; then continue; fi
|
||||||
echo "Generating for API '$api' ..."
|
echo "Generating for API '$api' ..."
|
||||||
cd $api
|
cd $api
|
||||||
|
|
Loading…
Reference in New Issue