index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2016-02-12 21:09:47 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-20 14:01:53 +1000 |
commit | 7624101e181c6c7262a40fc34797d591d062d4d4 (patch) | |
tree | a409d0d4acc1dbe9dcc234e084ae5069bbcb9647 /scripts | |
parent | a1a8d067e0264ade802229d418acfb019528f97c (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 7 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 16c21b72..1c3758b5 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -2223,13 +2223,10 @@ if (( NOBUILD )); then msg "$(gettext "Sources are ready.")" exit 0 #E_OK else - # clean existing pkg directories + # clean existing pkg directory if [[ -d $pkgdirbase ]]; then msg "$(gettext "Removing existing %s directory...")" "\$pkgdir/" - for pkg in "${pkgname[@]}"; do - rm -rf "$pkgdirbase/$pkg" - done - unset pkg + rm -rf "$pkgdirbase" fi mkdir -p "$pkgdirbase" chmod a-srw "$pkgdirbase" |