1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Remove directory test when creating directories using mkdir -p

This commit is contained in:
Sascha Schumann
2000-05-12 07:37:42 +00:00
parent f3ac213120
commit 23dfe91b60
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
##############################################################################
# $Id: fastgen.sh,v 1.5 2000-05-04 17:50:32 sas Exp $
# $Id: fastgen.sh,v 1.6 2000-05-12 07:37:42 sas Exp $
#
srcdir=$1
@@ -45,7 +45,7 @@ for makefile in $@; do
echo "creating $makefile"
# portable dirname
dir=`echo $makefile|sed 's%/*[^/][^/]*$%%'`
test -d "$dir/" || $mkdir_p "$dir/"
$mkdir_p "$dir/"
(cat <<EOF
top_srcdir = $top_srcdir

View File

@@ -35,7 +35,7 @@ AC_DEFUN(LIB_BUILD,[
lib_makefile="$1/libs.mk"
lib_target=""
test -d $1 || $php_shtool mkdir -p $1
$php_shtool mkdir -p $1
cat >$lib_makefile<<EOF
LTLIBRARY_OBJECTS = \$(LTLIBRARY_SOURCES:.c=.lo)
LTLIBRARY_SHARED_OBJECTS = \$(LTLIBRARY_OBJECTS:.lo=.slo)