diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-03-31 11:53:57 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-03-31 11:53:57 +0000 |
commit | 9373bb2029803acdd17b54c93e31fc9f1b20c3f1 (patch) | |
tree | 94bd1420e0c4a4fa9c6c0e50ea74e5de59ea6bf0 /ports-mgmt/porteasy | |
parent | correct MASTER_SITES, drop maintainership (no access to hardware) (diff) |
Use the two-argument version of mkdir() for backward compatibility.
PR: ports/64984
Submitted by: Jurij Ivliev <yury@esterdev.com>
Notes
Notes:
svn path=/head/; revision=105767
Diffstat (limited to 'ports-mgmt/porteasy')
-rw-r--r-- | ports-mgmt/porteasy/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/porteasy/src/porteasy.pl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ports-mgmt/porteasy/Makefile b/ports-mgmt/porteasy/Makefile index 6552999fde50..1b830902e332 100644 --- a/ports-mgmt/porteasy/Makefile +++ b/ports-mgmt/porteasy/Makefile @@ -9,6 +9,7 @@ PORTNAME= porteasy PORTVERSION= 2.7.12 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/porteasy/src/porteasy.pl b/ports-mgmt/porteasy/src/porteasy.pl index 2c1e3ab7c57d..127b8c9544bc 100644 --- a/ports-mgmt/porteasy/src/porteasy.pl +++ b/ports-mgmt/porteasy/src/porteasy.pl @@ -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") |