This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new b71503e386 Fixed: pullAllPluginsSource.sh deleted local .git directory (OFBIZ-12927) b71503e386 is described below commit b71503e386d531a301428d2c50f9437dda7a94cd Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Sat Mar 16 09:46:51 2024 +0100 Fixed: pullAllPluginsSource.sh deleted local .git directory (OFBIZ-12927) Last commit did not work either, uses a more traditional way, ie not set -e --- pullAllPluginsSource.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pullAllPluginsSource.sh b/pullAllPluginsSource.sh index f2e3832cf6..b4cba5214a 100755 --- a/pullAllPluginsSource.sh +++ b/pullAllPluginsSource.sh @@ -30,4 +30,6 @@ branch=$(git branch --show-current) git clone --depth 1 --single-branch --branch $branch https://github.com/apache/ofbiz-plugins.git plugins # remove .git, in this case it's useless information -rm -r plugins/.git \ No newline at end of file + if [ -d "plugins" ] + rm -rf plugins/.git +fi