summaryrefslogtreecommitdiff
path: root/pkg/scripts/checkout_leap_versions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/scripts/checkout_leap_versions.sh')
-rwxr-xr-xpkg/scripts/checkout_leap_versions.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/scripts/checkout_leap_versions.sh b/pkg/scripts/checkout_leap_versions.sh
new file mode 100755
index 00000000..9d6c6fab
--- /dev/null
+++ b/pkg/scripts/checkout_leap_versions.sh
@@ -0,0 +1,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