index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-09-24 15:08:21 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-26 16:02:19 -0500 |
commit | dd82b8d09f554d709f92fcdc7f873cb551b2d205 (patch) | |
tree | ce9842fa3fbd049d147dd095eeba4886cdb1422e | |
parent | 6adf502f0d0e684c67d7498057083958becf8b19 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index a0b03753..2703177b 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1134,7 +1134,7 @@ write_pkginfo() { [[ $license ]] && printf "license = %s\n" "${license[@]}" [[ $replaces ]] && printf "replaces = %s\n" "${replaces[@]}" [[ $groups ]] && printf "group = %s\n" "${groups[@]}" - [[ $optdepends ]] && printf "optdepend = %s\n" "${optdepends[@]}" + [[ $optdepends ]] && printf "optdepend = %s\n" "${optdepends[@]//+([[:space:]])/ }" [[ $conflicts ]] && printf "conflict = %s\n" "${conflicts[@]}" [[ $backup ]] && printf "backup = %s\n" "${backup[@]}" |