You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2026/10/22 16:44:57 UTC

(ofbiz-tools) 10/12: Include the separator line when merging the plugins LICENSE

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

jacopoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-tools.git

commit 43adf8aced016f9aebd6716889131a2201c64cd0
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Thu Oct 22 18:36:47 2026 +0200

    Include the separator line when merging the plugins LICENSE
    
    Co-Authored-By: Claude Opus 5.5 <no...@anthropic.com>
---
 create-ofbiz-release.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/create-ofbiz-release.sh b/create-ofbiz-release.sh
index 5f4423c..e4ef6b6 100644
--- a/create-ofbiz-release.sh
+++ b/create-ofbiz-release.sh
@@ -66,10 +66,10 @@ mkdir -p apache-ofbiz-$1/plugins/
 curl -fsSL https://github.com/apache/ofbiz-framework/archive/refs/tags/release$1.tar.gz | tar -xz -C apache-ofbiz-$1/ --strip-components=1
 curl -fsSL https://github.com/apache/ofbiz-plugins/archive/refs/tags/release$1.tar.gz | tar -xz -C apache-ofbiz-$1/plugins/ --strip-components=1
 
-# Append the plugin-specific part of the plugins LICENSE (everything after the
-# first separator line) to the framework LICENSE, before the former is removed
+# Append the plugin-specific part of the plugins LICENSE (everything from the
+# first separator line on) to the framework LICENSE, before the former is removed
 echo "## Merging the plugins LICENSE into the framework LICENSE"
-awk 'found; !found && index($0, "=========================================================================") {found=1}' \
+awk '!found && index($0, "=========================================================================") {found=1} found' \
     apache-ofbiz-$1/plugins/LICENSE >> apache-ofbiz-$1/LICENSE
 
 # Remove files that do not belong in the source release: plugin repository