ソースを参照

Make DEBUG=script echo the commands as they are executed

tags/v0.9.3
Michael Brown 19年前
コミット
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 );

読み込み中…
キャンセル
保存