Commit da1d3365 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Polish

parent d2ad24e4
...@@ -324,6 +324,7 @@ i_mode(void) ...@@ -324,6 +324,7 @@ i_mode(void)
*/ */
vsb = VSB_new_auto(); vsb = VSB_new_auto();
AN(vsb);
q = p = VFIL_readfile(NULL, "Makefile", NULL); q = p = VFIL_readfile(NULL, "Makefile", NULL);
if (p == NULL) { if (p == NULL) {
...@@ -361,12 +362,11 @@ i_mode(void) ...@@ -361,12 +362,11 @@ i_mode(void)
/* /*
* Build $PATH which can find all programs in the build tree * Build $PATH which can find all programs in the build tree
*/ */
AN(vsb);
VSB_printf(vsb, "PATH="); VSB_printf(vsb, "PATH=");
sep = ""; sep = "";
#define VTC_PROG(l) \ #define VTC_PROG(l) \
do { \ do { \
VSB_printf(vsb, "%s%s/bin/%s/", sep, topbuild, #l); \ VSB_printf(vsb, "%s%s/bin/" #l, sep, topbuild); \
sep = ":"; \ sep = ":"; \
} while (0); } while (0);
#include "programs.h" #include "programs.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment