projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82291ae
)
dev-vcs/git: Don't try to remove nonexistant directories with USE=-nls
author
Patrick McLean
<chutzpah@gentoo.org>
Tue, 22 Mar 2016 20:27:56 +0000
(13:27 -0700)
committer
Patrick McLean
<chutzpah@gentoo.org>
Tue, 22 Mar 2016 20:27:56 +0000
(13:27 -0700)
Package-Manager: portage-2.2.28
dev-vcs/git/git-2.7.4.ebuild
patch
|
blob
|
history
diff --git
a/dev-vcs/git/git-2.7.4.ebuild
b/dev-vcs/git/git-2.7.4.ebuild
index 06a2a18f46f1374b318a5b102f03db4f2ba8da99..a46fe25640b78bb214941a4e05cf9d705b22f8dc 100644
(file)
--- a/
dev-vcs/git/git-2.7.4.ebuild
+++ b/
dev-vcs/git/git-2.7.4.ebuild
@@
-540,7
+540,9
@@
src_install() {
# we could remove sources in src_prepare, but install does not
# handle missing locale dir well
rm_loc() {
- rm -r "${ED}/usr/share/locale/${1}" || die
+ if [[ -e "${ED}/usr/share/locale/${1}" ]]; then
+ rm -r "${ED}/usr/share/locale/${1}" || die
+ fi
}
l10n_for_each_disabled_locale_do rm_loc
}