mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
ignore errors due to races if a parallel mkdir.sh already
created the dir git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909707 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -38,7 +38,13 @@ for file in ${1+"$@"} ; do
|
|||||||
continue ;;
|
continue ;;
|
||||||
esac
|
esac
|
||||||
if test ! -d "$pathcomp"; then
|
if test ! -d "$pathcomp"; then
|
||||||
mkdir "$pathcomp" || errstatus=$?
|
thiserrstatus=0
|
||||||
|
mkdir "$pathcomp" || thiserrstatus=$?
|
||||||
|
# ignore errors due to races if a parallel mkdir.sh already
|
||||||
|
# created the dir
|
||||||
|
if test $thiserrstatus != 0 && test ! -d "$pathcomp" ; then
|
||||||
|
errstatus=$thiserrstatus
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
pathcomp="$pathcomp/"
|
pathcomp="$pathcomp/"
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user