summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-15 17:23:05 +0200
committerErich Eckner <git@eckner.net>2017-06-15 17:36:47 +0200
commit70e217a6b0f16eb68629cf86108d711957f6f82e (patch)
tree3dd44c65ed5c7265dfecbb6691b183e6c28d2fd6 /bin/build-packages
parent57fdcd1f3220909ca5b975238aabe1bb7cb28d18 (diff)
downloadbuilder-70e217a6b0f16eb68629cf86108d711957f6f82e.tar.xz
bin/build-packages: bugfix
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 052e4fe..410ee16 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -118,14 +118,14 @@ while [ ${count} -ne 0 ]; do
# Update git repositories (official packages, community packages and the repository of package customizations).
for repo_name in ${repo_names}; do
- eval repo_path='$repo_paths__'"${repo}"
+ eval repo_path='$repo_paths__'"${repo_name}"
git -C "${repo_path}" clean -df
git -C "${repo_path}" reset --hard
git -C "${repo_path}" checkout master
git -C "${repo_path}" pull || true
done
- git -C "$(eval printf '$repo_paths__%s' "$(find_repository_with_commit "${git_revision}")")" checkout "${git_revision}" > /dev/null 2>&1
+ eval git -C "$(printf '$repo_paths__%s' "$(find_repository_with_commit "${git_revision}")")" checkout "${git_revision}" > /dev/null 2>&1
git -C "${repo_paths__archlinux32}" checkout "${mod_git_revision}" > /dev/null 2>&1
PKGBUILD="$(find_pkgbuild "${package}" "${repository}")"