From 36eef7706406bf434a4ae21430aae240583f47e6 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 31 Jan 2005 23:48:38 +0000 Subject: [PATCH] Revert part of previous [remove cd to objdir] and bump the crunchdate. Make has been fixed. The cd was in the wrong place anyway, it should immediately follow ${MAKE}, so it did not work as expected. --- usr.bin/crunch/crunchgen/crunchgen.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/usr.bin/crunch/crunchgen/crunchgen.c b/usr.bin/crunch/crunchgen/crunchgen.c index 0d937a5bc56f..b0596fe76e14 100644 --- a/usr.bin/crunch/crunchgen/crunchgen.c +++ b/usr.bin/crunch/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $NetBSD: crunchgen.c,v 1.65 2005/01/30 23:04:33 lukem Exp $ */ +/* $NetBSD: crunchgen.c,v 1.66 2005/01/31 23:48:38 christos Exp $ */ /* * Copyright (c) 1994 University of Maryland * All Rights Reserved. @@ -38,7 +38,7 @@ #include #if !defined(lint) -__RCSID("$NetBSD: crunchgen.c,v 1.65 2005/01/30 23:04:33 lukem Exp $"); +__RCSID("$NetBSD: crunchgen.c,v 1.66 2005/01/31 23:48:38 christos Exp $"); #endif #include @@ -52,7 +52,7 @@ __RCSID("$NetBSD: crunchgen.c,v 1.65 2005/01/30 23:04:33 lukem Exp $"); #include #include -#define CRUNCH_VERSION "20050130" +#define CRUNCH_VERSION "20050131" #define MAXLINELEN 16384 #define MAXFIELDS 2048 @@ -953,7 +953,6 @@ top_makefile_rules(FILE *outmk) fprintf(outmk, "\t${MAKE} -f ${PROG}.mk ${PROG}\n"); fprintf(outmk, "\t@[ -f ${PROG}.unstripped -a ! ${PROG} -nt ${PROG}.unstripped ] || { \\\n"); fprintf(outmk, "\t\t${_MKSHMSG:Uecho} \" strip \" ${PROG}; \\\n"); - fprintf(outmk, "\t\tcd ${.OBJDIR} && \\\n"); fprintf(outmk, "\t\tcp ${PROG} ${PROG}.unstripped && \\\n"); fprintf(outmk, "\t\t${OBJCOPY} -S -R .note -R .ident -R .comment -R .copyright ${PROG} && \\\n"); fprintf(outmk, "\t\ttouch ${PROG}.unstripped; \\\n");