diff options
author | Fabio Castell <webreg@vbsimple.net> | 2016-09-09 15:39:37 +1000 |
---|---|---|
committer | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-05-08 23:27:43 -0400 |
commit | eca2e0f5edb5bee464c7173834c5a5972919d041 (patch) | |
tree | 0d7a5f24c48f576d84247caebd1298bf26733115 /scripts/repo-add.sh.in | |
parent | 1f3793e71a601e4e6cff2d8df50683d36435e50d (diff) | |
download | pacman-eca2e0f5edb5bee464c7173834c5a5972919d041.tar.xz |
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)
Diffstat (limited to 'scripts/repo-add.sh.in')
-rw-r--r-- | scripts/repo-add.sh.in | 2 |
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} |