Return to perform.c CVS log | Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install / files / create |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.18, 2007/08/09 14:14:45 | version 1.19, 2008/04/18 17:16:44 | ||
---|---|---|---|
|
|
||
printf(".\n"); | printf(".\n"); | ||
} | } | ||
/* | |||
* Get a string parameter as a file spec or as a "contents follow -" spec | |||
*/ | |||
static void | |||
get_dash_string(char **s) | |||
{ | |||
if (**s == '-') | |||
*s = strdup(*s + 1); | |||
else | |||
*s = fileGetContents(*s); | |||
} | |||
int | int | ||
pkg_perform(const char *pkg) | pkg_perform(const char *pkg) | ||
{ | { |