# HG changeset patch # User glx # Date 2019-01-13 18:12:33 # Node ID 8287b07a3d23cc38169029dc5e6007d71215472c # Parent 4039477f0fff995d41ec60c100ecb62bcfc0c6c1 Fix: BSD find used by OSX requires explicit path diff --git a/src/script/api/squirrel_export.sh b/src/script/api/squirrel_export.sh --- 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