Skip to content

Commit

Permalink
Fix diagnose::check_permissions for rsync sources
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Jan 18, 2024
1 parent 87a8c78 commit f37bf45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macports1.0/diagnose.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ namespace eval diagnose {
# don't complain about writable parent dirs of prefix or sources
set check_paths [list [file dirname $macports::prefix]]
foreach source $macports::sources {
set sourcedir [macports::getportdir [lindex $source 0]]
set sourcedir [file dirname [macports::getindex [lindex $source 0]]]
if {$sourcedir ni $check_paths} {
lappend check_paths $sourcedir
}
Expand Down

0 comments on commit f37bf45

Please sign in to comment.