From: Fabio Castell <[email protected]>

Fixes FS#50285

Signed-off-by: Allan McRae <[email protected]>
---
 scripts/repo-add.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index d62f9c4..4da2c31 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}
-- 
2.9.3

Reply via email to