File: mrpeach-links.sh

package info (click to toggle)
pd-binfile 0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 428 kB
  • sloc: ansic: 455; makefile: 141; sh: 124; cpp: 19
file content (16 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

## e.g. "pd-binfile"
PKGNAME=$1
## e.g. "/usr/lib/pd/extra/binfile"
INDIR=$2

PKGDIR=debian/${PKGNAME}
OUTDIR=/usr/lib/pd/extra/mrpeach

find "${PKGDIR}${INDIR}" -maxdepth 1 -type f -name "*.pd*" -not -name "*-meta.pd" | while read f
do
 infile=${f#${PKGDIR}/}
 outfile=${OUTDIR}/${infile##*/}
 echo "${infile}" "${outfile}"
done