diff options
author | Erich Eckner <git@eckner.net> | 2017-06-15 17:23:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-15 17:36:47 +0200 |
commit | 70e217a6b0f16eb68629cf86108d711957f6f82e (patch) | |
tree | 3dd44c65ed5c7265dfecbb6691b183e6c28d2fd6 /bin/build-packages | |
parent | 57fdcd1f3220909ca5b975238aabe1bb7cb28d18 (diff) | |
download | builder-70e217a6b0f16eb68629cf86108d711957f6f82e.tar.xz |
bin/build-packages: bugfix
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-x | bin/build-packages | 4 |
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}")" |