File: 90c-option

package info (click to toggle)
dh-builtusing 0.0.12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 160 kB
  • sloc: sh: 456; perl: 152; makefile: 23
file content (23 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

{
    fake_control_header ''

    fake_control_package foo all ''

} > debian/control

{
    fake_control_header dpkg-dev

    fake_control_package foo all '${dh-builtusing:dpkg-dev}'

} > debian/control2

$tested_command -cdebian/control2

check_substvar foo dpkg-dev dpkg

dh_gencontrol -- -cdebian/control2

check_control foo dpkg