atosystem commented on a change in pull request #836:
URL: https://github.com/apache/submarine/pull/836#discussion_r770589362
##########
File path: dev-support/pysubmarine/gen-sdk.sh
##########
@@ -55,13 +61,15 @@ java -jar ${SWAGGER_CODEGEN_JAR} generate \
-c ${SWAGGER_CODEGEN_CONF}
echo "Insert apache license at the top of file ..."
-for filename in $(find ${SDK_OUTPUT_PATH}/submarine/experiment -type f); do
+for filename in $(find ${SDK_OUTPUT_PATH}/submarine/${API_COMPONENT} -type f);
do
echo "$filename"
- sed -i -e '1 e cat license-header.txt' "$filename"
Review comment:
I give up using `sed` since there is some differences between the usage
of BSD and Linux version.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]