index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-07 11:03:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-07 11:03:05 +0200 |
commit | 5fe5fa90fab4c60b1529ec03a9c482050981625f (patch) | |
tree | d781a6a3f8f71d790cf44e2a894588151c749450 /bin/return-assignment | |
parent | 278369c53402d606b2953abc2df12049ff3303fa (diff) |
-rwxr-xr-x | bin/return-assignment | 12 |
diff --git a/bin/return-assignment b/bin/return-assignment index aca4062..71a89b6 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -128,13 +128,13 @@ if [ -n "${package_errors}" ]; then fi # move packages -mkdir -p "${master_mirror_directory}/i686/$4-staging/" -mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i686/$4-staging/" +mkdir -p "${master_mirror_directory}/i686/staging/" +mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i686/staging/" ( - cd "${master_mirror_directory}/i686/$4-staging" - repo-add "$4-staging.db.tar.gz" "${packages[@]}" - # repo-add -v -s -k "${repo_key}" "$4-staging.db.tar.gz" "${packages[@]}" + cd "${master_mirror_directory}/i686/staging" + repo-add 'staging.db.tar.gz' "${packages[@]}" + # repo-add -v -s -k "${repo_key}" 'staging.db.tar.gz' "${packages[@]}" # remove old versions of same packages for package in "${packages[@]}"; do @@ -156,4 +156,4 @@ grep "^${1//./\\.}\$" "${work_dir}/build-list.loops/loop_"* 2> /dev/null | \ sed -i "/^${1//./\\.} $2 $3 $4\$/d" "${work_dir}/build-list" # remove package lock file -rm "${work_dir}/package-states/$1.$2.$3.$4.locked" +mv "${work_dir}/package-states/$1.$2.$3.$4."{locked,done} |