summaryrefslogtreecommitdiff
path: root/pkg/scripts/checkout_leap_versions.sh
blob: 5381625b5df08a480763dd78e605c5fc3fc47824 (plain)
1
2
3
4
5
6
7
#!/bin/sh
cat pkg/leap_versions.txt | while read line
do
	package=$(echo $line | cut -f1 -d' ')
	tag=$(echo $line | cut -f2 -d' ')
	cd ../$package && git fetch origin && git checkout $tag
done