diff options
author | Paul Smith <psmith@gnu.org> | 2010-08-10 07:35:34 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2010-08-10 07:35:34 +0000 |
commit | 036760a9fdb11849b6a43feec7ce294e7f77db2a (patch) | |
tree | 1d4800ea686fd439fd5857e2dc18a7671b411282 /main.c | |
parent | 91be5155674c296bd7ea0faa4ecdc9477eb7ea13 (diff) | |
download | gunmake-036760a9fdb11849b6a43feec7ce294e7f77db2a.tar.gz |
Fix Savannah bug #30723: expand MAKEFLAGS before we re-exec after
rebuilding makefiles.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2093,7 +2093,7 @@ main (int argc, char **argv, char **envp) const char *pv = define_makeflags (1, 1); char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1); sprintf (p, "MAKEFLAGS=%s", pv); - putenv (p); + putenv (allocated_variable_expand (p)); } if (ISDB (DB_BASIC)) |