diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl index ba9d42b480..055c7a58ce 100644 --- a/src/macports1.0/macports.tcl +++ b/src/macports1.0/macports.tcl @@ -2676,6 +2676,11 @@ proc mportsync {{optionslist {}}} { switch -regexp -- [macports::getprotocol $source] { {^file$} { set portdir [macports::getportdir $source] + if {![file exists ${portdir}]} { + ui_info "Could not access contents of $portdir" + incr numfailed + continue + } if {[_source_is_obsolete_svn_repo $portdir]} { set obsoletesvn 1 }