diff options
author | jkh <jkh@FreeBSD.org> | 1993-09-05 04:54:24 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1993-09-05 04:54:24 +0000 |
commit | e9a6985275ef309d1f9f603df83efd30018f94f8 (patch) | |
tree | 5237df764835d2c29873982e973a10aa873c31b3 /usr.sbin/pkg_install/lib/file.c | |
parent | 443968adfa831a25c1830da2ba42acd56b84322f (diff) | |
download | FreeBSD-src-e9a6985275ef309d1f9f603df83efd30018f94f8.zip FreeBSD-src-e9a6985275ef309d1f9f603df83efd30018f94f8.tar.gz |
Made staging area configurable rather than assuming /tmp (-t)
Diffstat (limited to 'usr.sbin/pkg_install/lib/file.c')
-rw-r--r-- | usr.sbin/pkg_install/lib/file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index 9c86151..106a535 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -135,6 +135,9 @@ copy_hierarchy(char *dir, char *fname, Boolean to) } else sprintf(cmd, "tar cf - %s | tar xpf - -C %s", fname, dir); +#ifdef DEBUG + printf("Using '%s' to copy trees.\n", cmd); +#endif if (system(cmd)) barf("copy_file: Couldn't perform '%s'", cmd); } |