-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jesse Keating wrote: > On Thu, 13 Dec 2007 14:52:07 -0600 > Clark Williams <[EMAIL PROTECTED]> wrote: > >> Usage: >> >> mock -r <config> --copyin foo bar baz /tmp >> >> copies the files foo, bar and baz to the chroot /tmp directory for >> <config> >> >> mock -r <config> >> --copyout /tmp/result.txt /opt/mydir/something ./results >> >> copies the files <chroot>/tmp/result.txt and >> <chroot>/opt/mydir/something into the local dir ./results. > > Ooh, this is pretty cool. It can make some things easier. What if you > pass it a directory instead of a file? >
Hmmm, I'd have to look at what it would take to do a directory. I suppose I could detect that source is a directory and use shutil.copytree()... Would that make life easier with punji/koji? Clark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHYa2jHyuj/+TTEp0RAtSFAKDAFM4sZnrfVT+t39NsbrNobCukkACeIiDe NVg8vr7LWSOfTdS4uC3SEFo= =J37l -----END PGP SIGNATURE----- -- Fedora-buildsys-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
