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

jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 65c091e0c1 Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)
65c091e0c1 is described below

commit 65c091e0c10b357db276332a6911622444bec537
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
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

Reply via email to