浏览代码

Make DEBUG=script echo the commands as they are executed

tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
a6afbe762c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/image/script.c

+ 1
- 0
src/image/script.c 查看文件

65
 
65
 
66
 		/* Mark end of line and execute command */
66
 		/* Mark end of line and execute command */
67
 		*eol = '\0';
67
 		*eol = '\0';
68
+		DBG ( "$ %s\n", cmdbuf );
68
 		if ( ( rc = system ( cmdbuf ) ) != 0 ) {
69
 		if ( ( rc = system ( cmdbuf ) ) != 0 ) {
69
 			DBG ( "Command \"%s\" exited with status %d\n",
70
 			DBG ( "Command \"%s\" exited with status %d\n",
70
 			      cmdbuf, rc );
71
 			      cmdbuf, rc );

正在加载...
取消
保存