Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Castell <webreg@vbsimple.net>2016-09-09 15:39:37 +1000
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-08 23:27:43 -0400
commiteca2e0f5edb5bee464c7173834c5a5972919d041 (patch)
tree0d7a5f24c48f576d84247caebd1298bf26733115
parent1f3793e71a601e4e6cff2d8df50683d36435e50d (diff)
repo-add: fix error in directories with a space in their name
Fixes FS#50285 Signed-off-by: Allan McRae <allan@archlinux.org> (cherry picked from commit 07d1e0441b53fffd4a600babe479e278a2fc50ee)
-rw-r--r--scripts/repo-add.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index d62f9c4d..4da2c317 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -617,7 +617,7 @@ remove() {
rotate_db() {
dirname=${LOCKFILE%/*}
- pushd $dirname >/dev/null
+ pushd "$dirname" >/dev/null
for repo in "db" "files"; do
filename=${REPO_DB_PREFIX}.${repo}.${REPO_DB_SUFFIX}