Changes between Version 9 and Version 10 of Scripts/testport_script


Ignore:
Timestamp:
Apr 25, 2012, 5:10:48 PM (12 years ago)
Author:
kato23@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scripts/testport_script

    v9 v10  
    307307if [[ $remove -eq 1 ]]; then
    308308   if [[ $(port installed "$@" | wc -l) -gt 1 ]]; then
     309      printf '\n\n%s\n\n\n' "Uninstalling: $@"
    309310      port -f clean --all "$@"
    310311      port -f -v uninstall "$@"
     312   elif [[ -d "$(port dir "$@")/work" ]]; then
     313      port -f clean --all "$@"
    311314   fi
    312315fi