summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-08-24 17:42:20 -0400
committerKali Kaneko <kali@leap.se>2015-08-24 17:56:09 -0400
commitdde1b5289b12fa034eae10dfdf9354d0c7cd93bc (patch)
treeb4da588ba34f5fab112611096e22f90222d4c12c
parent728f542753c7307cc908e8d40e5ca0df4feaa5da (diff)
[pkg] fetch origin before checkout
-rwxr-xr-xpkg/scripts/checkout_leap_versions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/scripts/checkout_leap_versions.sh b/pkg/scripts/checkout_leap_versions.sh
index 9d6c6fab..5381625b 100755
--- a/pkg/scripts/checkout_leap_versions.sh
+++ b/pkg/scripts/checkout_leap_versions.sh
@@ -3,5 +3,5 @@ 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
+ cd ../$package && git fetch origin && git checkout $tag
done