summaryrefslogtreecommitdiff
path: root/flatpak
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-26 09:45:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-26 09:45:08 +0200
commit64e7fa43691478905812dec06516be8e3aa515ed (patch)
tree20e2698febc1621669264ee1bfa9b7f3a44ad1aa /flatpak
parentfbb4c45db34a5995dd41bd5cd24938626d37c726 (diff)
flatpak/build.sh: git fetch --tags
Diffstat (limited to 'flatpak')
-rwxr-xr-xflatpak/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/flatpak/build.sh b/flatpak/build.sh
index c8fb676..9cef544 100755
--- a/flatpak/build.sh
+++ b/flatpak/build.sh
@@ -54,8 +54,8 @@ fi
# 2 Clone the LibreOffice git repo:
if [ -e "${my_dir?}"/lo ]; then
- git -C "${my_dir?}"/lo pull
- git -C "${my_dir?}"/lo submodule update
+ git -C "${my_dir?}"/lo fetch --tags
+ git -C "${my_dir?}"/lo submodule foreach git fetch --tags
git -C "${my_dir?}"/lo checkout "${my_branch?}"
else
git clone --branch "${my_branch?}" --recursive \