~ubuntu-branches/ubuntu/intrepid/linux-backports-modules-2.6.27/intrepid

« back to all changes in this revision

Viewing changes to debian/scripts/control-head

  • Committer: Bazaar Package Importer
  • Author(s): Tim Gardner
  • Date: 2008-09-09 08:26:34 UTC
  • Revision ID: james.westby@ubuntu.com-20080909082634-08qlr13k2d6mnaxe
Tags: 2.6.27-6.1
Initial empty package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
input="$1"
 
4
version="$2"
 
5
 
 
6
deps=""
 
7
 
 
8
for var in debian/control.d/vars.*; do
 
9
        flavour=$(basename $var | sed 's/.*\.//')
 
10
        . $var
 
11
        deps="${deps}, linux-headers-${version}-${flavour} [${arch}]"
 
12
done
 
13
 
 
14
cat $input | sed -e "s#HEADER_DEPS#${deps}#g"