Commit 359d080c authored by wlott's avatar wlott
Browse files

Print something out for each directory groveled.

parent 79125097
......@@ -7,7 +7,7 @@
/* Duplicates a source tree. */
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/dupsrcs.c,v 1.1 1991/11/06 22:17:29 wlott Exp $ */
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/dupsrcs.c,v 1.2 1991/11/07 22:55:36 wlott Exp $ */
void duptree(srcdir, dstdir)
char *srcdir, *dstdir;
......@@ -17,6 +17,8 @@ char *srcdir, *dstdir;
char srcpath[MAXPATHLEN], dstpath[MAXPATHLEN];
struct stat buf;
printf("Duplicating %s\n into %s\n", srcdir, dstdir);
/* Make sure the dstdir is there. */
if (mkdir(dstdir) == 0)
printf("Creating %s\n", dstdir);
......@@ -77,6 +79,5 @@ char *argv[];
}
getwd(srcdir);
printf("Duplicating %s\n into %s\n", srcdir, dstdir);
duptree(srcdir, dstdir);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment