mirror of
https://git.proxmox.com/git/debcargo-conf
synced 2025-04-28 11:02:18 +00:00

sh is rather inconvenient. I am about to introduce a bashism in vars.sh.frag and various others.
8 lines
217 B
Bash
Executable File
8 lines
217 B
Bash
Executable File
#!/bin/bash
|
|
# List all packages that produce rust binaries, from this repo.
|
|
grep -l "\[packages.bin\]" src/*/debian/debcargo.toml \
|
|
| cut -d/ -f2 \
|
|
| sed -e 's/^/rust-/g' \
|
|
| tr '\n' ',' \
|
|
| sed -e 's/,$/\n/'
|