3 arch
=`dpkg-architecture -qDEB_HOST_ARCH`
4 version
=`grep VERSION Makefile | gawk -F= '{ print $2 }'`
5 package
=`grep PACKAGE Makefile | gawk -F= '{ print $2 }'`
6 maintainer
='gandalf <gandalf@arachne.cz>'
8 patch -Nl <debian
/prometheus.
patch
10 sed -e "s/__ARCHITECTURE__/$arch/" \
11 -e "s/__VERSION__/$version/" \
12 -e "s/__PACKAGE__/$package/" \
13 -e "s/__MAINTAINER__/$maintainer/" \
14 debian
/prometheus.control
> debian
/control
This page took 0.302735 seconds and 5 git commands to generate.