index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2012-02-20 17:00:26 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-20 17:00:26 -0600 |
commit | 3849c3aec130601572b9e06b42bb6af5938936de (patch) | |
tree | f298f227f4ff591390e55b4f02812f12312dd5c7 /scripts/pacman-optimize.sh.in | |
parent | 326c6a8eed60bfd6aa0d653dad722d8637022d68 (diff) | |
parent | 78adb71f20ee335dff49e34d33f04817a40002b6 (diff) |
-rw-r--r-- | scripts/pacman-optimize.sh.in | 3 |
diff --git a/scripts/pacman-optimize.sh.in b/scripts/pacman-optimize.sh.in index 3c6cfa88..d80435c0 100644 --- a/scripts/pacman-optimize.sh.in +++ b/scripts/pacman-optimize.sh.in @@ -122,8 +122,7 @@ find "$dbroot" -type f | sort | xargs md5sum > "$workdir/pacsums.old" # step 2: tar it up msg "$(gettext "Tar'ing up %s...")" "$dbroot" -cd "$dbroot" -bsdtar -czf "$workdir/pacman-db.tar.gz" ./ +bsdtar -czf "$workdir/pacman-db.tar.gz" -C "$dbroot" ./ if (( $? )); then rm -rf "$workdir" die_r "$(gettext "Tar'ing up %s failed.")" "$dbroot" |