diff options
author | glx <glx@openttd.org> | 2019-01-13 19:12:33 +0100 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2019-01-14 00:34:52 +0000 |
commit | 9f0ad7e2699a84dd47a0bb4a469b2b166d260f53 (patch) | |
tree | 3bf3b44aeabd1e6d5e0d5fa905cd79d6af1af952 /src/script | |
parent | 3f28e0cf53dc0c3de53a47874465be140f949949 (diff) | |
download | openttd-9f0ad7e2699a84dd47a0bb4a469b2b166d260f53.tar.xz |
Fix: BSD find used by OSX requires explicit path
Diffstat (limited to 'src/script')
-rwxr-xr-x | src/script/api/squirrel_export.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/squirrel_export.sh b/src/script/api/squirrel_export.sh index 54e595b9b..e1f5e8613 100755 --- a/src/script/api/squirrel_export.sh +++ b/src/script/api/squirrel_export.sh @@ -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 |