Changeset 81821
- Timestamp:
- 08/05/11 04:33:46 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl
r81762 r81821 4010 4010 # Returns true if the path is in the prefix, false otherwise 4011 4011 proc path_is_in_prefix {path} { 4012 return [string first $macports::prefix $path] == 0 || [string first $macports::applications_dir $path] == 0 4012 if {[string first $macports::prefix $path] == 0} { 4013 return yes 4014 } 4015 if {[string first $macports::applications_dir $path] == 0} { 4016 return yes 4017 } 4018 return no 4013 4019 } 4014 4020
Note: See TracChangeset
for help on using the changeset viewer.

