This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch bedrock in repository https://gitbox.apache.org/repos/asf/camel.git
commit e1d497f0bbc2975c89ba89a33f6f7b121884d5fb Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Feb 27 09:30:25 2024 +0100 Regen and use realpath instead of grealpath Signed-off-by: Andrea Cosentino <[email protected]> --- etc/scripts/regen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/scripts/regen.sh b/etc/scripts/regen.sh index a73351b6876..9f86ed255fe 100755 --- a/etc/scripts/regen.sh +++ b/etc/scripts/regen.sh @@ -39,7 +39,7 @@ rm -Rf **/src/generated/ find docs/components/modules/ROOT/examples/json -type l -delete for json_file in components/**/src/generated/resources/META-INF/**/*.json ; do # Get relative path of json file - rel_path=$(grealpath --relative-to=docs/components/modules/ROOT/examples/json $json_file) + rel_path=$(realpath --relative-to=docs/components/modules/ROOT/examples/json $json_file) # Create symbolic link in dir-b ln -sf $rel_path docs/components/modules/ROOT/examples/json/$(basename $json_file) done @@ -47,7 +47,7 @@ done find core/camel-core-engine/src/main/docs/modules/eips/examples/json -type l -delete for json_file in core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/*.json ; do # Get relative path of json file - rel_path=$(grealpath --relative-to=core/camel-core-engine/src/main/docs/modules/eips/examples/json $json_file) + rel_path=$(realpath --relative-to=core/camel-core-engine/src/main/docs/modules/eips/examples/json $json_file) # Create symbolic link in dir-b ln -sf $rel_path core/camel-core-engine/src/main/docs/modules/eips/examples/json/$(basename $json_file) done
