support main or master as default branch in hammer plugins
This commit is contained in:
@@ -19,7 +19,7 @@ if [[ ${plen} -gt 0 ]]; then
|
|||||||
for p in "${package_list[@]}"; do
|
for p in "${package_list[@]}"; do
|
||||||
cd ${p}
|
cd ${p}
|
||||||
echo "Updating current directory: $PWD"
|
echo "Updating current directory: $PWD"
|
||||||
git checkout master
|
git checkout `basename "$(git rev-parse --abbrev-ref origin/HEAD)"`
|
||||||
git pull
|
git pull
|
||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
git add ${p}
|
git add ${p}
|
||||||
|
|||||||
Submodule vlsi/hammer-synopsys-plugins updated: e080a48000...e53fa5c51f
Reference in New Issue
Block a user