summaryrefslogtreecommitdiff
path: root/scripts/repo-add.sh.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-07 14:18:28 +0200
committerDan McGee <dan@archlinux.org>2012-04-29 21:56:57 -0500
commit678bdfb0d079dba08bf1f4d34a93e5d36521c43d (patch)
tree9f48b78c65336b2c3e5eab2be3ee40656caaf6e6 /scripts/repo-add.sh.in
parent2e6cb69bf6d6b2738d7a9c23c55d1734378402c7 (diff)
downloadpacman-678bdfb0d079dba08bf1f4d34a93e5d36521c43d.tar.xz
pkgdelta/repo-add: quoting fixes
Finish the job on master; most of these were applied to maint already. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'scripts/repo-add.sh.in')
-rw-r--r--scripts/repo-add.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index 3efddc07..006672a0 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -662,7 +662,7 @@ if (( success )); then
dirname=${LOCKFILE%/*}
filename=${REPO_DB_FILE##*/}
# this ensures we create it on the same filesystem, making moves atomic
- tempname="$dirname/.tmp.$filename"
+ tempname=$dirname/.tmp.$filename
pushd "$tmpdir/tree" >/dev/null
if ( shopt -s nullglob; files=(*); (( ${#files[*]} )) ); then