We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ec566 commit 48fa178Copy full SHA for 48fa178
steps/003-modifiers
@@ -480,8 +480,8 @@ sub text_install {
480
my $changed = 1;
481
482
# Create containing directory if it doesn't exist
483
- $p->{-mode} ||= $p->{-flags}{-mode} ||= 0644;
484
- $p->{-dir_mode} ||= $p->{-flags}{-dir_mode} ||= 0755;
+ $p->{-mode} ||= $p->{-flags}{-mode} || 0644;
+ $p->{-dir_mode} ||= $p->{-flags}{-dir_mode} || 0755;
485
my $path = dirname($p->{-file});
486
dir_check(-dir => $path, -mode => $p->{-dir_mode}) if $path and $path ne $p->{-file} and ! -d $path;
487
0 commit comments