blob: 778a811087655786f1e2d32a8bb2dc3c2e45677d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- mozart-1.4.0.20080704.orig/mkinstalldirs 1998-11-17 12:25:23.000000000 +1300
+++ mozart-1.4.0.20080704/mkinstalldirs 2008-12-07 12:01:14.000000000 +1300
@@ -40,7 +40,7 @@
if test ! -d "${pathcomp}"; then
echo "mkdir $pathcomp" 1>&2
- mkdir "${pathcomp}" || errstatus=$?
+ mkdir "${pathcomp}" || test -d "${pathcomp}" || errstatus=$?
dochmod "${pathcomp}"
fi
|