File: controlgen

package info (click to toggle)
ldm 2:2.0.6-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,012 kB
  • ctags: 144
  • sloc: sh: 3,813; ansic: 1,648; makefile: 105; sed: 16
file content (15 lines) | stat: -rw-r--r-- 344 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

basedir=$(dirname $0)

VENDOR="$(lsb_release --short --id)"
. $basedir/control.$VENDOR

sed -e "s%MAINTAINER%$MAINTAINER%g" \
    -e "s%UPLOADERS%$UPLOADERS%g" \
    -e "s%LDM_DEPENDS%$LDM_DEPENDS%g" \
    -e "s%BZR_URL%$BZR_URL%g" \
    -e "s%VCS_BROWSER_URL%$VCS_BROWSER_URL%g" \
    $basedir/control.in > $basedir/control