Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add debug message to scripts
Baptiste Daroussin committed 12 years ago
commit 9003d30c1e2b87ff8dda7a6225ce4c5fa20d85fa
parent 975b4af
1 file changed +1 -0
modified libpkg/scripts.c
@@ -116,6 +116,7 @@ pkg_script_run(struct pkg * const pkg, pkg_script type)
				argmax -= strlen(*ep) + 1 + sizeof(*ep);
			argmax -= 1 + sizeof(*ep);

+
			pkg_debug(3, "Scripts: executing\n--- BEGIN ---\n%s\nScripts: --- END ---", sbuf_get(script_cmd));
			if (sbuf_len(script_cmd) > argmax) {
				if (pipe(stdin_pipe) < 0) {
					ret = EPKG_FATAL;