getportbuildpath: normalize after joining

This commit is contained in:
Joshua Root
2025-07-23 14:12:38 +10:00
parent f3369be5ab
commit 3994147a5b
+1 -2
View File
@@ -3132,9 +3132,8 @@ proc _source_is_obsolete_svn_repo {source_dir} {
proc macports::getportbuildpath {id {portname {}}} {
package require sha1
variable portdbpath
set beginning [file normalize [file join $portdbpath build]]
set path_hash [string range [::sha1::sha1 -hex -- $id] 0 7]
return [file join $beginning ${portname}-${path_hash}]
return [file normalize [file join $portdbpath build ${portname}-${path_hash}]]
}
proc macports::getportlogpath {id {portname {}}} {