1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Use the two-argument version of mkdir() for backward compatibility.

PR:		ports/64984
Submitted by:	Jurij Ivliev <yury@esterdev.com>
This commit is contained in:
Dag-Erling Smørgrav 2004-03-31 11:53:57 +00:00
parent 6ad7c41b9c
commit 9373bb2029
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105767
4 changed files with 4 additions and 2 deletions

View File

@ -9,6 +9,7 @@
PORTNAME= porteasy
PORTVERSION= 2.7.12
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -337,7 +337,7 @@ sub update_index() {
or bsd::errx(1, "error updating the index file");
}
if ($packages && ! -d "$portsdir/packages") {
mkdir("$portsdir/packages")
mkdir("$portsdir/packages", 0777)
or bsd::errx(1, "error creating the package directory");
}
cvs("update", "Mk", "Templates", "Tools")

View File

@ -9,6 +9,7 @@
PORTNAME= porteasy
PORTVERSION= 2.7.12
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -337,7 +337,7 @@ sub update_index() {
or bsd::errx(1, "error updating the index file");
}
if ($packages && ! -d "$portsdir/packages") {
mkdir("$portsdir/packages")
mkdir("$portsdir/packages", 0777)
or bsd::errx(1, "error creating the package directory");
}
cvs("update", "Mk", "Templates", "Tools")