diff --git a/xcode/build_phases/documentation_generator.sh b/xcode/build_phases/documentation_generator.sh index a5449b7..ffd4828 100644 --- a/xcode/build_phases/documentation_generator.sh +++ b/xcode/build_phases/documentation_generator.sh @@ -1 +1,2 @@ -. build-scripts/xcode/aux_scripts/certificates_readme_generator.sh > $PROJECT_DIR/Certificates/README.md \ No newline at end of file +readonly BUILD_SCRIPTS_DIR=${1:-${PROJECT_DIR}} # first argument or PROJECT_DIR +. $BUILD_SCRIPTS_DIR/build-scripts/xcode/aux_scripts/certificates_readme_generator.sh > $PROJECT_DIR/Certificates/README.md