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:
parent
6ad7c41b9c
commit
9373bb2029
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105767
@ -9,6 +9,7 @@
|
||||
|
||||
PORTNAME= porteasy
|
||||
PORTVERSION= 2.7.12
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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")
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
PORTNAME= porteasy
|
||||
PORTVERSION= 2.7.12
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user