index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Florian Pritz <bluewind@xinu.at> | 2012-04-07 14:18:28 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-29 21:56:57 -0500 |
commit | 678bdfb0d079dba08bf1f4d34a93e5d36521c43d (patch) | |
tree | 9f48b78c65336b2c3e5eab2be3ee40656caaf6e6 /scripts/repo-add.sh.in | |
parent | 2e6cb69bf6d6b2738d7a9c23c55d1734378402c7 (diff) |
-rw-r--r-- | scripts/repo-add.sh.in | 2 |
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 |