mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
Fix: BSD find used by OSX requires explicit path
This commit is contained in:
parent
3f28e0cf53
commit
9f0ad7e269
@ -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
|
||||
if [ "$apilc" = "script" ]; then
|
||||
for api in `find -type d | cut -b3-`; do
|
||||
for api in `find . -type d | cut -b3-`; do
|
||||
if [ -z "$api" ]; then continue; fi
|
||||
echo "Generating for API '$api' ..."
|
||||
cd $api
|
||||
|
Loading…
Reference in New Issue
Block a user