summaryrefslogtreecommitdiff
path: root/distrib/crunch/crunchgen
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2006-10-25 01:53:20 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2006-10-25 01:53:20 +0000
commit7b7ccf1aa0811dab9ff2d84954fa5e84b822e9f7 (patch)
tree7d05732b1d82e2f82f9f50f4498c05800695156c /distrib/crunch/crunchgen
parentd7b66546ef71675c8a97d50ef9e168e35cbc65ca (diff)
-O objdir diff missed a piece.
Diffstat (limited to 'distrib/crunch/crunchgen')
-rw-r--r--distrib/crunch/crunchgen/crunchgen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/crunch/crunchgen/crunchgen.c b/distrib/crunch/crunchgen/crunchgen.c
index 6fdda47bd32..eb0c20bec18 100644
--- a/distrib/crunch/crunchgen/crunchgen.c
+++ b/distrib/crunch/crunchgen/crunchgen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crunchgen.c,v 1.26 2006/10/15 06:44:13 jmc Exp $ */
+/* $OpenBSD: crunchgen.c,v 1.27 2006/10/25 01:53:19 drahn Exp $ */
/*
* Copyright (c) 1994 University of Maryland
@@ -400,7 +400,8 @@ add_libdirs(int argc, char **argv)
continue;
}
if (is_dir(tmppath)) {
- snprintf(tmppath2, sizeof(tmppath2), "%s/obj", tmppath);
+ snprintf(tmppath2, sizeof(tmppath2), "%s/%s", tmppath,
+ objdir);
if (is_dir(tmppath2))
add_string(&libdirs, tmppath2);
else {