Changeset 248 for trunk/dasscm


Ignore:
Timestamp:
Oct 13, 2008, 6:24:05 PM (16 years ago)
Author:
joergs
Message:

add error checking for and

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dasscm/dasscm

    r247 r248  
    179179    }
    180180    if ($verbose) { print "DASSCM_REPO: " . $DASSCM_REPO . "\n"; }
     181
     182
     183    #
     184    # subversion checkout user
     185    #
     186    if( ! $DASSCM_CHECKOUT_USERNAME ) {
     187        fatalerror(
     188            "variable DASSCM_CHECKOUT_USERNAME is not defined.",
     189            "Use file $config_file to configure it." );
     190    }
     191
     192    if( ! $DASSCM_CHECKOUT_PASSWORD ) {
     193        fatalerror(
     194            "variable DASSCM_CHECKOUT_PASSWORD is not defined.",
     195            "Use file $config_file to configure it." );
     196    }
     197   
    181198
    182199    #
Note: See TracChangeset for help on using the changeset viewer.