diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1993-09-04 18:19:41 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1993-09-04 18:19:41 +0000 |
commit | 14cb3fbecd0bf7528908d08d702b91398d988bbc (patch) | |
tree | 06118439d81e58c5fdc57cd6ed3189194181898c /usr.sbin | |
parent | 6cb9d5292c3c252284bd7ef42689c0ce540809a7 (diff) | |
download | src-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')
-rw-r--r-- | usr.sbin/pkg_install/create/perform.c | 3 |
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"); |