summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-17 16:05:44 +0200
committerErich Eckner <git@eckner.net>2018-09-17 16:05:44 +0200
commitc5c27eb501669a4da182dfb684a5bf266902f7ea (patch)
tree0178f2932ca87299dd2cc3ffcb17adfe1b021cd5 /bin
parente0ab9252b8fe502b620f62278f8deff287c7e729 (diff)
downloadbuilder-c5c27eb501669a4da182dfb684a5bf266902f7ea.tar.xz
bin/build-packages,bin/check-mirrors,bin/get-package-updates: "git remote update" -> "git fetch origin master:master"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages2
-rwxr-xr-xbin/check-mirrors2
-rwxr-xr-xbin/get-package-updates2
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 2275f9f..62cfae7 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -283,7 +283,7 @@ while [ "${count}" -ne 0 ] && \
for repo_name in ${repo_names}; do
eval repo_path='"${repo_paths__'"${repo_name}"'}"'
- git -C "${repo_path}" remote update || \
+ git -C "${repo_path}" fetch origin master:master || \
true
done
diff --git a/bin/check-mirrors b/bin/check-mirrors
index 80524b8..b629880 100755
--- a/bin/check-mirrors
+++ b/bin/check-mirrors
@@ -5,7 +5,7 @@
if [ $# -eq 0 ]; then
- git -C "${releng_directory}" remote update || \
+ git -C "${releng_directory}" fetch origin master:master || \
true
country_codes=$(
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 66b59bb..d9c71ab 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -200,7 +200,7 @@ something_new=false
for repo in ${repo_names}; do
eval repo_path='"${repo_paths__'"${repo}"'}"'
# Update git repositories (official packages, community packages and the repository of package customizations).
- git -C "${repo_path}" remote update || \
+ git -C "${repo_path}" fetch origin master:master || \
true
# read previous git revision numbers from database.
# shellcheck disable=SC2016