[Rpm-maint] [rpm-software-management/rpm] RFE: Allow slicing sources list (Issue #2180)
Panu Matilainen
notifications at github.com
Fri Oct 27 12:58:37 UTC 2023
Even shorter, using bash arrays:
```
read -r -a SRC <<< "%{sources}"
cp -a ${SRC[@]:1} .
```
Technically it'd be possible to add min and max parameters to the %sources and %patches macros similar to %autopatch, but the added complexity doesn't seem warranted here because there are already tools to achieve this using generally available tools.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2180#issuecomment-1782874698
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2180/1782874698 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231027/9b6495f5/attachment.html>
More information about the Rpm-maint
mailing list