summaryrefslogtreecommitdiff
path: root/pkg/scripts/checkout_leap_versions.sh
blob: 9d6c6fab62958e10f72e0b87d476002d4dd7c9c0 (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 checkout $tag
done