Fixed bug in pkg_create that affected Rich's attempts to package emacs

This commit is contained in:
Jordan K. Hubbard 1993-09-04 18:19:41 +00:00
parent 6cb9d5292c
commit 14cb3fbecd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=381

View file

@ -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");