git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/branches/refactoring@55 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
@ -190,12 +190,13 @@ int main(int argc, char **argv){
|
|||||||
/**
|
/**
|
||||||
* try to get the database name from environment variable
|
* try to get the database name from environment variable
|
||||||
* if no database name specified in the -d option
|
* if no database name specified in the -d option
|
||||||
|
|
||||||
if (!database && getenv("ECOPCRDB"))
|
|
||||||
database = getenv("ECOPCRDB");
|
|
||||||
else
|
|
||||||
errflag++;
|
|
||||||
*/
|
*/
|
||||||
|
if (database == NULL)
|
||||||
|
{
|
||||||
|
database = getenv("ECOPCRDB");
|
||||||
|
if (database == NULL)
|
||||||
|
errflag++;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* check everything required is provided
|
* check everything required is provided
|
||||||
|
Reference in New Issue
Block a user