Skip to content

Commit

Permalink
Fix diagnose::check_permissions for rsync sources
Browse files Browse the repository at this point in the history
Closes: https://trac.macports.org/ticket/69126
(cherry picked from commit f37bf45)
  • Loading branch information
jmroot committed Jan 18, 2024
1 parent 31b8036 commit d33a0a0
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 d33a0a0

Please sign in to comment.