Make crunchgen match the new obj/ convention.

This commit is contained in:
Poul-Henning Kamp 1996-07-15 11:20:21 +00:00
parent 4cfe9fc7fe
commit d9d5922eec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17176

View File

@ -488,7 +488,7 @@ void fillin_program(prog_t *p)
p->srcdir = strdup(path);
}
if(!p->objdir && p->srcdir) {
sprintf(path, "%s/obj", p->srcdir);
sprintf(path, "/usr/obj/%s", p->srcdir);
if(is_dir(path))
p->objdir = strdup(path);
else