Skip to content

Commit

Permalink
ci: Fix Check ports syscfg update workflow
Browse files Browse the repository at this point in the history
Amends incorrect relative path to the LICENSE_TEMPLATE file.
  • Loading branch information
wpiet authored and sjanc committed Jul 24, 2024
1 parent 9b8368b commit a9400d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion porting/update_generated_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ for target in "${!targets[@]}"; do
find "${targets[$target]}/include" -type f -name 'syscfg.h' -exec sed -i '/MYNEWT_VAL_REPO_*/,/#endif/d' {} \;
find "${targets[$target]}/include" -type f -name 'syscfg.h' -exec sed -i -E ':a;N;$!ba;s:/\*([^*]|(\*+([^*/])))*\*+/::g' {} \;
find "${targets[$target]}/include" -type f -name 'syscfg.h' -exec sed -i '$!N;/^\n$/{$q;D;};P;D;' {} \;
find "${targets[$target]}/include" -type f -name 'syscfg.h' -exec sh -c 'cat "$0" "$1" > "$1.tmp" && mv "$1.tmp" "$1"' "../.github/LICENSE_TEMPLATE" {} \;
find "${targets[$target]}/include" -type f -name 'syscfg.h' -exec sh -c 'cat "$0" "$1" > "$1.tmp" && mv "$1.tmp" "$1"' "repos/apache-mynewt-nimble/.github/LICENSE_TEMPLATE" {} \;
done

0 comments on commit a9400d7

Please sign in to comment.