perform.c (478) | perform.c (1520) |
---|---|
1#ifndef lint | 1#ifndef lint |
2static const char *rcsid = "$Id: perform.c,v 1.6 1993/09/12 20:56:40 jkh Exp $"; | 2static const char *rcsid = "$Id: perform.c,v 1.7 1993/09/18 03:39:20 jkh Exp $"; |
3#endif 4 5/* 6 * FreeBSD install - a package for the installation and maintainance 7 * of non-core utilities. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 129 unchanged lines hidden (view full) --- 140 char tball[FILENAME_MAX]; 141 char args[10]; 142 int ret; 143 144 args[0] = '\0'; 145 sprintf(tball, "%s/%s.%s", home, pkg, suffix); 146 if (index(suffix, 'z')) /* Compress/gzip? */ 147 strcat(args, "z"); | 3#endif 4 5/* 6 * FreeBSD install - a package for the installation and maintainance 7 * of non-core utilities. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 129 unchanged lines hidden (view full) --- 140 char tball[FILENAME_MAX]; 141 char args[10]; 142 int ret; 143 144 args[0] = '\0'; 145 sprintf(tball, "%s/%s.%s", home, pkg, suffix); 146 if (index(suffix, 'z')) /* Compress/gzip? */ 147 strcat(args, "z"); |
148 if (Dereference) 149 strcat(args, "h"); |
|
148 if (Verbose) 149 printf("Creating gzip'd tar ball in '%s'\n", tball); 150 strcat(args, "cf"); 151 if (ExcludeFrom) 152 ret = vsystem("tar %sX %s %s .", args, tball, ExcludeFrom); 153 else 154 ret = vsystem("tar %s %s .", args, tball); 155 if (ret) --- 21 unchanged lines hidden --- | 150 if (Verbose) 151 printf("Creating gzip'd tar ball in '%s'\n", tball); 152 strcat(args, "cf"); 153 if (ExcludeFrom) 154 ret = vsystem("tar %sX %s %s .", args, tball, ExcludeFrom); 155 else 156 ret = vsystem("tar %s %s .", args, tball); 157 if (ret) --- 21 unchanged lines hidden --- |