summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1993-09-04 18:19:41 +0000
committerjkh <jkh@FreeBSD.org>1993-09-04 18:19:41 +0000
commit4ccfdf095318e7c716a6ad724300bca7bc6c831c (patch)
tree06118439d81e58c5fdc57cd6ed3189194181898c /usr.sbin/pkg_install
parent67a5d22fbc97df534697c7c96e536fce7055876a (diff)
downloadFreeBSD-src-4ccfdf095318e7c716a6ad724300bca7bc6c831c.zip
FreeBSD-src-4ccfdf095318e7c716a6ad724300bca7bc6c831c.tar.gz
Fixed bug in pkg_create that affected Rich's attempts to package emacs
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/create/perform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 91102a0..7697f45 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: perform.c,v 1.5 1993/09/04 05:06:33 jkh Exp $";
+static const char *rcsid = "$Id: perform.c,v 1.2 1993/09/03 23:00:55 jkh Exp $";
#endif
/*
@@ -140,6 +140,7 @@ make_dist(char *home, char *pkg, char *suffix, Package *plist)
char tball[FILENAME_MAX];
char args[10];
+ args[0] = '\0';
sprintf(tball, "%s/%s.%s", home, pkg, suffix);
if (index(suffix, 'z')) /* Compress/gzip? */
strcpy(args, "z");
OpenPOWER on IntegriCloud