This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new a9400d70 ci: Fix `Check ports syscfg update` workflow
a9400d70 is described below

commit a9400d707b04c3cc8ae5d526d8b9f76c57c9408b
Author: Wojciech Pietraszewski <[email protected]>
AuthorDate: Mon Jul 22 17:29:56 2024 +0200

    ci: Fix `Check ports syscfg update` workflow
    
    Amends incorrect relative path to the LICENSE_TEMPLATE file.
---
 porting/update_generated_files.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/porting/update_generated_files.sh 
b/porting/update_generated_files.sh
index 94f1808a..e5104b63 100755
--- a/porting/update_generated_files.sh
+++ b/porting/update_generated_files.sh
@@ -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

Reply via email to