File: dput.bug-script

package info (click to toggle)
dput 1.1.0
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 868 kB
  • sloc: python: 11,083; sh: 150; makefile: 50
file content (24 lines) | stat: -rw-r--r-- 537 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
24
#! /bin/bash

# Reportbug custom content generator for ‘dput’ package.
# Documentation: ‘/usr/share/doc/reportbug/README.developers.gz’.

candidate_config_files=(
        /etc/dput.cf
        "$HOME"/.dput.cf
        )

for config_file in "${candidate_config_files[@]}" ; do
    printf "\n-- %s --\n" "$config_file" >&3
    cat "$config_file" >&3
done

printf "\n-- Configuration parsed by ‘dput’ --\n"
dput --print >&3


# Local variables:
# coding: utf-8
# mode: shell-script
# End:
# vim: fileencoding=utf-8 filetype=sh :