diff --git a/misc/porteasy/Makefile b/misc/porteasy/Makefile index 6552999fde50..1b830902e332 100644 --- a/misc/porteasy/Makefile +++ b/misc/porteasy/Makefile @@ -9,6 +9,7 @@ PORTNAME= porteasy PORTVERSION= 2.7.12 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= # none DISTFILES= # none diff --git a/misc/porteasy/src/porteasy.pl b/misc/porteasy/src/porteasy.pl index 2c1e3ab7c57d..127b8c9544bc 100644 --- a/misc/porteasy/src/porteasy.pl +++ b/misc/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") 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")