[pacman-dev] [PATCH] repo-add: fix error in directories with a space in their name
9 Sep
2016
9 Sep
'16
5:40 a.m.
From: Fabio Castell webreg@vbsimple.net
Fixes FS#50285
Signed-off-by: Allan McRae allan@archlinux.org --- 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
2647
Age (days ago)
2647
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae