File: preprocess

package info (click to toggle)
popt 1.16-10
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 3,520 kB
  • ctags: 762
  • sloc: sh: 10,852; ansic: 4,360; makefile: 516; sed: 16
file content (10 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

DEB_HOST_MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`

for file in debian/*.in;
do
	target="${file%.in}"
	sed -e s/DEB_HOST_MULTIARCH/$DEB_HOST_MULTIARCH/g $file > $target
done