From a6afbe762c1c8fb1abfc0e540ce80dd142aeee49 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jan 2007 10:06:59 +0000 Subject: [PATCH] Make DEBUG=script echo the commands as they are executed --- src/image/script.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/image/script.c b/src/image/script.c index 0504e4d0..84432435 100644 --- a/src/image/script.c +++ b/src/image/script.c @@ -65,6 +65,7 @@ static int script_exec ( struct image *image ) { /* Mark end of line and execute command */ *eol = '\0'; + DBG ( "$ %s\n", cmdbuf ); if ( ( rc = system ( cmdbuf ) ) != 0 ) { DBG ( "Command \"%s\" exited with status %d\n", cmdbuf, rc );