Skip to content
Snippets Groups Projects
Commit d08c1604 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

show list of projects if none specified

parent 8177bc6e
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,13 @@ while (my $arg= shift (@ARGV))
print "debug level: $DEBUG\n";
&usage ('environment variable TABASE not set') unless (exists ($ENV{'TABASE'}));
&usage ('no project specified') unless (defined ($project));
# &usage ('no project specified') unless (defined ($project));
unless (defined ($project))
{
print "no project specified; check these:\n";
system ("ls -ls \"$ENV{'TABASE'}/projects\"");
exit (0);
}
# &usage ('no store specified') unless (defined ($store));
my $objreg= new TA::ObjReg ('project' => $project, 'store' => $store);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment