File: generate-copyright

package info (click to toggle)
bacula 9.6.7-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 24,764 kB
  • sloc: ansic: 157,001; cpp: 28,065; sh: 25,044; makefile: 4,385; perl: 3,433; sql: 1,371; python: 125; xml: 64; awk: 51; sed: 25
file content (15 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# this generates a new debian/copyright file
# this is to be used manually whenever necessary

FILES="LICENSE-FAQ LICENSE LICENSE-FOSS AUTHORS"

cp debian/scripts/template.copyright debian/copyright
for file in $FILES; do
    echo "\n--- content of $file ---" >> debian/copyright
    cat $file >> debian/copyright
done

# remove trailing whitespaces
wrap-and-sort -f debian/copyright