Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-07-22 21:12:05 +0200
committerErich Eckner <git@eckner.net>2023-07-22 21:12:05 +0200
commiteec5b77db79b51a2db567f95a66280f51c054692 (patch)
tree688d125ae91ec6b90af28ebdfa2d27d684bc2874
parent35a86a9f4ea28afa12fd8df8615bc6edbf47c118 (diff)
bin/db-update: make step re-runable
* mkdir needs -p to not complain about already-existing directory
-rwxr-xr-xbin/db-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-update b/bin/db-update
index dbbb53f..2d0f50e 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -736,7 +736,7 @@ mysql_query_update_replaced_bpir() {
# and push our local *.db.tar.gz via rsync
while read -r arch repo; do
{
- printf 'mkdir "%s/recompress_gz.tmp"\n' \
+ printf 'mkdir -p "%s/recompress_gz.tmp"\n' \
"${perma_tmp_dir}"
printf 'recompress_gz "%s/recompress_gz.tmp"' \
"${perma_tmp_dir}"