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 07d1e0441b
)
This commit is contained in:
parent
1f3793e71a
commit
eca2e0f5ed
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ remove() {
|
||||||
rotate_db() {
|
rotate_db() {
|
||||||
dirname=${LOCKFILE%/*}
|
dirname=${LOCKFILE%/*}
|
||||||
|
|
||||||
pushd $dirname >/dev/null
|
pushd "$dirname" >/dev/null
|
||||||
|
|
||||||
for repo in "db" "files"; do
|
for repo in "db" "files"; do
|
||||||
filename=${REPO_DB_PREFIX}.${repo}.${REPO_DB_SUFFIX}
|
filename=${REPO_DB_PREFIX}.${repo}.${REPO_DB_SUFFIX}
|
||||||
|
|
Loading…
Add table
Reference in a new issue