From dde1b5289b12fa034eae10dfdf9354d0c7cd93bc Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 24 Aug 2015 17:42:20 -0400 Subject: [pkg] fetch origin before checkout --- pkg/scripts/checkout_leap_versions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3