summaryrefslogtreecommitdiff
path: root/pkg/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/scripts')
-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