summaryrefslogtreecommitdiff
path: root/pkg/scripts/checkout_leap_versions.sh
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-02-04 00:59:32 -0400
committerIvan Alejandro <ivanalejandro0@gmail.com>2015-02-13 14:20:04 -0300
commitc06bf409d3fe2268011214301c59dc1c279fae44 (patch)
treec56a5397b1cc15ce15fb7fc67eb29b82e09672eb /pkg/scripts/checkout_leap_versions.sh
parentfb7d75a6556026d097a03c61bb167d689f1e1f06 (diff)
create sumo tarball with leap dependencies (Closes: #6683)
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