mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
repo-add: fix error in directories with a space in their name
Fixes FS#50285 Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
900a22b90c
commit
07d1e0441b
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user