Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/crunch/crunchgen Use :Q instead of " to quote make v...
details: https://anonhg.NetBSD.org/src/rev/24faa1263f4a
branches: trunk
changeset: 808385:24faa1263f4a
user: matt <matt%NetBSD.org@localhost>
date: Sat May 16 02:33:12 2015 +0000
description:
Use :Q instead of " to quote make vars DBG and LDSTATIC
diffstat:
usr.bin/crunch/crunchgen/crunchgen.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 66d04b240375 -r 24faa1263f4a usr.bin/crunch/crunchgen/crunchgen.c
--- a/usr.bin/crunch/crunchgen/crunchgen.c Sat May 16 01:15:34 2015 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.c Sat May 16 02:33:12 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crunchgen.c,v 1.82 2014/01/04 08:58:51 martin Exp $ */
+/* $NetBSD: crunchgen.c,v 1.83 2015/05/16 02:33:12 matt Exp $ */
/*
* Copyright (c) 1994 University of Maryland
* All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: crunchgen.c,v 1.82 2014/01/04 08:58:51 martin Exp $");
+__RCSID("$NetBSD: crunchgen.c,v 1.83 2015/05/16 02:33:12 matt Exp $");
#endif
#include <stdlib.h>
@@ -1003,7 +1003,7 @@
fprintf(outmk, "%s\\n", lst->str);
fprintf(outmk, "'\\\n");
#define MAKECMD \
- "\t| ${MAKE} -f- CRUNCHEDPROG=1 DBG=\"${DBG}\" LDSTATIC=\"${LDSTATIC}\" "
+ "\t| ${MAKE} -f- CRUNCHEDPROG=1 DBG=${DBG:Q} LDSTATIC=${LDSTATIC:Q} "
fprintf(outmk, MAKECMD "depend");
fprintf(outmk, " )\n");
fprintf(outmk, "\t( cd %s; printf '.PATH: ${%s_SRCDIR}\\n"
Home |
Main Index |
Thread Index |
Old Index