From: | "Keri Harris (keri)" <keri@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/mozart/files: mozart-1.4.0-mkinstalldirs.patch |
Date: | Wed, 25 Aug 2010 07:56:43 |
Message-Id: | 20100825075638.BAA902004E@flycatcher.gentoo.org |
1 | keri 10/08/25 07:56:38 |
2 | |
3 | Added: mozart-1.4.0-mkinstalldirs.patch |
4 | Log: |
5 | Add threadsafe mkinstalldirs patch |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-lang/mozart/files/mozart-1.4.0-mkinstalldirs.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mozart/files/mozart-1.4.0-mkinstalldirs.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mozart/files/mozart-1.4.0-mkinstalldirs.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: mozart-1.4.0-mkinstalldirs.patch |
15 | =================================================================== |
16 | --- mozart-1.4.0.20080704.orig/mkinstalldirs 1998-11-17 12:25:23.000000000 +1300 |
17 | +++ mozart-1.4.0.20080704/mkinstalldirs 2008-12-07 12:01:14.000000000 +1300 |
18 | @@ -40,7 +40,7 @@ |
19 | |
20 | if test ! -d "${pathcomp}"; then |
21 | echo "mkdir $pathcomp" 1>&2 |
22 | - mkdir "${pathcomp}" || errstatus=$? |
23 | + mkdir "${pathcomp}" || test -d "${pathcomp}" || errstatus=$? |
24 | dochmod "${pathcomp}" |
25 | fi |