aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1993-09-04 18:19:41 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1993-09-04 18:19:41 +0000
commit14cb3fbecd0bf7528908d08d702b91398d988bbc (patch)
tree06118439d81e58c5fdc57cd6ed3189194181898c /usr.sbin/pkg_install
parent6cb9d5292c3c252284bd7ef42689c0ce540809a7 (diff)
downloadsrc-14cb3fbecd0bf7528908d08d702b91398d988bbc.tar.gz
src-14cb3fbecd0bf7528908d08d702b91398d988bbc.zip
Fixed bug in pkg_create that affected Rich's attempts to package emacs
Notes
Notes: svn path=/head/; revision=381
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 91102a0eb23c..7697f45777f7 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");