Changes between Version 12 and Version 13 of Scripts/testport_script
- Timestamp:
- May 3, 2012, 1:38:04 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scripts/testport_script
v12 v13 10 10 11 11 # testport -- test install a specified port in /opt/macports-test (default) 12 13 # https://trac.macports.org/wiki/Scripts/testport_script 12 14 13 15 # 1. move the /opt/local MacPorts system to ${opt_local_off} to make sure it is not interfering with the custom ${MP_PREFIX} MacPorts build process … … 222 224 if [[ $printpath -eq 1 ]]; then 223 225 printf '\n\n%s\n\n\n' "export PATH=\"${MP_PREFIX}/bin:${MP_PREFIX}/sbin:/usr/bin:/bin:/usr/sbin:/sbin\"" 226 printf '%s\n\n\n' "alias testport='/usr/local/bin/testport'" 224 227 exit 225 228 fi … … 325 328 326 329 # clean up previous "${MP_PREFIX}" directory 327 if [[ $all_new -eq 0 ]] && [[ -x "${MP_PREFIX}/bin/port" ]]; then330 if [[ $all_new -eq 0 ]] && [[ $build_source -eq 0 ]] && [[ -x "${MP_PREFIX}/bin/port" ]]; then 328 331 if [[ $clean_all -eq 1 ]]; then 329 332 do_clean_all … … 360 363 port -f extract "$@" 361 364 elif [[ $build_source -eq 1 ]] && [[ $verbose -eq 1 ]]; then 362 port -f clean --all "$@"363 365 port -f -s -v install "$@" 364 366 elif [[ $build_source -eq 1 ]] && [[ $debug -eq 1 ]]; then