summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib/exec.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>2000-01-19 23:28:28 +0000
committerhubertf <hubertf@NetBSD.org>2000-01-19 23:28:28 +0000
commit9d0c5bb4ee4e02d94d904fbaf6472ac4451415a8 (patch)
tree1c548c4d71be8780775db7080aa30ba00c8f77ef /usr.sbin/pkg_install/lib/exec.c
parente92c1387ea0f69abd9558ae6ebae36a6c249a93e (diff)
FTP wildcard depends code, initial commit.
Modulo some code cleanup, this gives NetBSD full wildcard support not only in pkgsrc, but esp. for binary packages installed from local disk and via FTP. For more information, see: http://www.feyrer.de/NetBSD/wildcards.html
Diffstat (limited to 'usr.sbin/pkg_install/lib/exec.c')
-rw-r--r--usr.sbin/pkg_install/lib/exec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/lib/exec.c b/usr.sbin/pkg_install/lib/exec.c
index e60a3071fe4..27637c05118 100644
--- a/usr.sbin/pkg_install/lib/exec.c
+++ b/usr.sbin/pkg_install/lib/exec.c
@@ -1,11 +1,11 @@
-/* $NetBSD: exec.c,v 1.6 1999/08/24 00:48:39 hubertf Exp $ */
+/* $NetBSD: exec.c,v 1.7 2000/01/19 23:28:32 hubertf Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: exec.c,v 1.6 1997/10/08 07:47:50 charnier Exp";
#else
-__RCSID("$NetBSD: exec.c,v 1.6 1999/08/24 00:48:39 hubertf Exp $");
+__RCSID("$NetBSD: exec.c,v 1.7 2000/01/19 23:28:32 hubertf Exp $");
#endif
#endif
@@ -56,8 +56,8 @@ vsystem(const char *fmt,...)
warnx("vsystem args are too long");
return 1;
}
-#ifdef DEBUG
- printf("Executing %s\n", cmd);
+#ifdef VSYSTEM_DEBUG
+ printf("vsystem(\"%s\")\n", cmd);
#endif
ret = system(cmd);
va_end(args);