You are not logged in.
Under my SRCDEST folder resides mesa/ which stores the git main tree of the mesa project.
$ ls mesa/
branches config description FETCH_HEAD HEAD hooks info objects packed-refs refs
$
When running makepkg it "converts" that to a tree as seen at https://gitlab.freedesktop.org/mesa/mesa and stores it in SRCDIR .
Occasionally I create patches for mesa and need a full uptodate tree of it to ensure the patch will ap0ply cleanly .
I can use git clone https://gitlab.freedesktop.org/mesa/mesa.git to get it, but that means re-downloading stuff .
Using the code that's already stored under SRCDEST seems much smarter and faster (and requires less traffic) .
What command)s) do I need to re-use the code under SRCDEST outside of makepkg ?
Last edited by Lone_Wolf (2024-09-02 15:04:09)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Ah, you mean you just want to clone it to some other working directory??
git clone $SRCDEST/$gitname /path/to/new/dir
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks, works fine.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline