Changes between Version 14 and Version 15 of Scripts/testport_script
- Timestamp:
- May 4, 2012, 12:51:24 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scripts/testport_script
v14 v15 248 248 else 249 249 echo 250 echo 'No port to install given!'250 echo 'No port to install (or remove) given!' 251 251 show_usage 1>&2 252 252 exit 1 … … 278 278 echo 279 279 280 # make sure /usr/local is not interfering with MacPorts build processes for /opt/local280 # make sure /usr/local is not interfering with MacPorts build processes for ${MP_PREFIX} 281 281 [[ -d '/usr/local' ]] && sudo mv -iv /usr/local "${usr_local_off}" 282 282 283 # back up the old MacPorts system283 # make sure /opt/local is not interfering with MacPorts build processes for ${MP_PREFIX} 284 284 [[ -d '/opt/local' ]] && sudo mv -iv /opt/local "${opt_local_off}" 285 285