From 9494ef3fc58379f9df4f230021981e03cb71c8ac Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sat, 16 Mar 2024 09:57:27 +0100 Subject: [PATCH] Fixed: pullAllPluginsSource.sh deleted local .git directory (OFBIZ-12927) Last commit did not work, syntax error :/ --- pullAllPluginsSource.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pullAllPluginsSource.sh b/pullAllPluginsSource.sh index b4cba5214aa..73bc19a8463 100755 --- a/pullAllPluginsSource.sh +++ b/pullAllPluginsSource.sh @@ -31,5 +31,6 @@ git clone --depth 1 --single-branch --branch $branch https://github.com/apache/o # remove .git, in this case it's useless information if [ -d "plugins" ] - rm -rf plugins/.git + then + rm -rf plugins/.git fi