2004-11-20 07:32:32 +00:00
|
|
|
static volatile const char *BOINCrcsid="$Id$";
|
2004-08-05 11:35:09 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "util.h"
|
|
|
|
#include "sched_config.h"
|
|
|
|
|
|
|
|
int main(int argc, char** argv) {
|
|
|
|
SCHED_CONFIG config;
|
|
|
|
char path[256];
|
|
|
|
int retval;
|
|
|
|
|
2004-12-06 22:41:19 +00:00
|
|
|
retval = config.parse_file(".");
|
|
|
|
if (retval) {
|
|
|
|
fprintf(stderr, "Can't find config.xml; run this in project root dir\n");
|
|
|
|
exit(1);
|
|
|
|
}
|
2004-08-05 11:35:09 +00:00
|
|
|
|
|
|
|
dir_hier_path(argv[1], "", config.uldl_dir_fanout, path);
|
2004-12-06 22:41:19 +00:00
|
|
|
printf("path: %s%s\n", config.download_dir, path);
|
2004-08-05 11:35:09 +00:00
|
|
|
}
|