Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 951eb8c..df643b3 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -103,9 +103,10 @@ packages=(*.pkg.tar.xz)
mkdir -p "${master_mirror_directory}/i486/$4-staging/"
mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i486/$4-staging/"
-pushd "${master_mirror_directory}/i486/$4-staging" > /dev/null
-repo-add -v -s -k "${repo_key}" "$4-staging.db.tar.gz" "${packages[@]}"
-popd > /dev/null
+(
+ cd "${master_mirror_directory}/i486/$4-staging"
+ repo-add -v -s -k "${repo_key}" "$4-staging.db.tar.gz" "${packages[@]}"
+)
# remove all loops which are broken by this package
sed '1d' "${work_dir}/package-states/$1.$2.$3.$4.locked" | \