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
|
|
|
|
2005-01-02 07:44:40 +00:00
|
|
|
dir_hier_path(argv[1], "", config.uldl_dir_fanout, true, 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
|
|
|
}
|
2004-12-08 00:40:19 +00:00
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
|
static volatile const char __attribute__((unused)) *BOINCrcsid="$Id$";
|
|
|
|
#else
|
|
|
|
static volatile const char *BOINCrcsid="$Id$";
|
|
|
|
#endif
|