Changeset 57914


Ignore:
Timestamp:
Sep 18, 2009, 7:25:03 PM (11 years ago)
Author:
ryandesign@…
Message:

minivmac, minivmac-devel: bail during the configuration phase if configuration fails, so the user can try again without needing to clean

Location:
users/ryandesign
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • users/ryandesign/minivmac-devel/Portfile

    r57909 r57914  
    224224    my_detach_disk_image ${my_output_disk_mount}
    225225    reinplace "s|@SUBDIRS@|${my_variation_dirs}|" ${build.dir}/Makefile
     226   
     227    # If no variation directoriess were produced by configuration, either the flags we
     228    # passed in were bad, or the automation script got out of sync with the emulator;
     229    # if the latter, the delays in configure.applescript may need to be adjusted.
     230    if {"" == ${my_variation_dirs}} {
     231        return -code error "configuration failed!"
     232    }
    226233}
    227234
  • users/ryandesign/minivmac/Portfile

    r57896 r57914  
    198198    my_detach_disk_image ${my_src_disk_mount}
    199199    reinplace "s|@SUBDIRS@|${my_variation_dirs}|" ${build.dir}/Makefile
     200   
     201    # If no variation directoriess were produced by configuration, either the flags we
     202    # passed in were bad, or the automation script got out of sync with the emulator;
     203    # if the latter, the delays in configure.applescript may need to be adjusted.
     204    if {"" == ${my_variation_dirs}} {
     205        return -code error "configuration failed!"
     206    }
    200207}
    201208
Note: See TracChangeset for help on using the changeset viewer.