Skip to content

Commit

Permalink
Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)
Browse files Browse the repository at this point in the history
As suggested by Daniel, nicer syntax in pullAllPluginsSource to get the
current branch as a var
  • Loading branch information
JacquesLeRoux committed Jan 4, 2024
1 parent bdbc08a commit 7942b2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pullAllPluginsSource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7942b2b

Please sign in to comment.