Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
50642a73
Commit
50642a73
authored
Sep 22, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 517632: Make checksetup.pl die when it fails to create a directory
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
parent
da1e0f0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Filesystem.pm
Bugzilla/Install/Filesystem.pm
+2
-2
No files found.
Bugzilla/Install/Filesystem.pm
View file @
50642a73
...
...
@@ -335,10 +335,10 @@ sub update_filesystem {
foreach
my
$dir
(
sort
keys
%
dirs
)
{
unless
(
-
d
$dir
)
{
print
"Creating $dir directory...\n"
;
mkdir
$dir
||
die
$!
;
mkdir
$dir
or
die
"mkdir $dir failed: $!"
;
# For some reason, passing in the permissions to "mkdir"
# doesn't work right, but doing a "chmod" does.
chmod
$dirs
{
$dir
},
$dir
||
die
$!
;
chmod
$dirs
{
$dir
},
$dir
or
warn
"Cannot chmod $dir: $!"
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment