diff options
author | Erich Eckner <git@eckner.net> | 2017-08-02 14:32:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-02 14:32:30 +0200 |
commit | 93d2b2ee8ae79b565d57f1692f96f37695ef8b39 (patch) | |
tree | bd42cc7643b7bd5ceaff1327d25cb22e0a48486f /bin/seed-build-list | |
parent | 8601cfbc675a80160118ada110eb0988f7ae3c59 (diff) | |
download | builder-93d2b2ee8ae79b565d57f1692f96f37695ef8b39.tar.xz |
remove unnecessary and confusing quotes
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-x | bin/seed-build-list | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list index 3a5c99b..d2e342b 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -25,7 +25,7 @@ usage() { [ -z "$1" ] && exit 1 || exit $1 } -tmp_dir="$(mktemp -d)" +tmp_dir=$(mktemp -d) trap "rm -rf --one-file-system '${tmp_dir}'" EXIT eval set -- "$( @@ -175,7 +175,7 @@ while read -r pkg; do fi success=false for arch in x86_64 any; do - pkgbase="$( + pkgbase=$( curl -sS "https://www.archlinux.org/packages/community/x86_64/${pkg}/" | \ sed -n ' /Base Package:/{ @@ -194,7 +194,7 @@ while read -r pkg; do s|/$|| s|^.*/|| ' - )" + ) if [ -n "${pkgbase}" ]; then echo "${pkgbase}" >> \ "${tmp_dir}/delta_pkgbases" @@ -230,7 +230,7 @@ rm "${tmp_dir}/delta_packages" # convert append_packages to build-list.new (add git hashes) while read -r pkg repo; do - git_repo="$(find_git_repository_to_package_repository "${repo}")" + git_repo=$(find_git_repository_to_package_repository "${repo}") printf '%s %s %s %s\n' \ "${pkg}" \ "$(cat "${work_dir}/${git_repo}.revision")" \ |