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 7942b2b519 Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)
7942b2b519 is described below
commit 7942b2b519f5433cf47481a2968442388b2b3e56
Author: Jacques Le Roux <[email protected]>
AuthorDate: Thu Jan 4 12:12:42 2024 +0100
Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)
As suggested by Daniel, nicer syntax in pullAllPluginsSource to get the
current branch as a var
---
pullAllPluginsSource.sh | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/pullAllPluginsSource.sh b/pullAllPluginsSource.sh
index fd69ddc790..42bf8d27aa 100755
--- a/pullAllPluginsSource.sh
+++ b/pullAllPluginsSource.sh
@@ -23,9 +23,7 @@ if [ -d "plugins" ]
fi
# Get the branch used by the framework
-git branch --show-current > temp.txt
-branch=$(cat temp.txt)
-rm temp.txt
+branch=$(git branch --show-current)
git clone https://github.com/apache/ofbiz-plugins.git plugins
cd plugins