Changeset 97871
- Timestamp:
- Sep 18, 2012, 12:05:45 PM (12 years ago)
- Location:
- branches/release_2_1/base
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release_2_1/base
- Property svn:mergeinfo changed
/trunk/base merged: 97868-97869
- Property svn:mergeinfo changed
-
branches/release_2_1/base/ChangeLog
- Property svn:mergeinfo changed
/trunk/base/ChangeLog merged: 97869
r96540 r97871 9 9 it should start from the beginning. 10 10 (#29223, cal in r96136, r96399, r96400, r96538) 11 12 - Fix permission problem in the creation of the ccache directory with 13 ccache >= 3.1.7 by running the initialization step as the macportsuser. 14 (raimue in r97868) 11 15 12 16 Release 2.1.2 (2012-07-26 by jmr): - Property svn:mergeinfo changed
-
branches/release_2_1/base/src/port1.0/portconfigure.tcl
r91557 r97871 230 230 global configureccache ccache_dir ccache_size macportsuser 231 231 if {${configureccache}} { 232 # Create ccache directory with correct permissions with root privileges 232 233 elevateToRoot "configure ccache" 233 234 if [catch { 234 235 file mkdir ${ccache_dir} 235 236 file attributes ${ccache_dir} -owner ${macportsuser} -permissions 0755 237 } result] { 238 ui_warn "ccache_dir ${ccache_dir} could not be created; disabling ccache: $result" 239 set configureccache no 240 } 241 dropPrivileges 242 243 # Initialize ccache directory with the given maximum size 244 if {${configureccache}} { 245 if [catch { 236 246 exec ccache -M ${ccache_size} >/dev/null 237 247 } result] { 238 ui_warn "ccache_dir ${ccache_dir} could not be initialized; disabling ccache: $result"239 set configureccache no240 }241 dropPrivileges248 ui_warn "ccache_dir ${ccache_dir} could not be initialized; disabling ccache: $result" 249 set configureccache no 250 } 251 } 242 252 } 243 253 }
Note: See TracChangeset
for help on using the changeset viewer.