We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0863fa + f32d2ac commit b157654Copy full SHA for b157654
build/shtool
@@ -1003,7 +1003,14 @@ mkdir )
1003
if [ ".$opt_t" = .yes ]; then
1004
echo "mkdir $pathcomp" 1>&2
1005
fi
1006
- mkdir $pathcomp || errstatus=$?
+ # See https://bugs.php.net/51076
1007
+ # The fix is from Debian who have sent it
1008
+ # upstream, too; but upstream seems dead.
1009
+ mkdir $pathcomp || {
1010
+ _errstatus=$?
1011
+ [ -d "$pathcomp" ] || errstatus=${_errstatus}
1012
+ unset _errstatus
1013
+ }
1014
if [ ".$opt_o" != . ]; then
1015
1016
echo "chown $opt_o $pathcomp" 1>&2
0 commit comments