File: step340.cmd

package info (click to toggle)
debmake-doc 1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 15,476 kB
  • sloc: sh: 686; makefile: 668; python: 146; ansic: 114; sed: 16
file content (11 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# This is cheating :-) dpkg-source isn't easy
echo " \$ dpkg-source --commit . 000-prefix-usr.patch"
echo " ... edit the DEP-3 patch header with editor"
# But in reality, use quilt to record.
dquilt refresh >/dev/null
dquilt header -a >/dev/null <<EOF
Description: set prefix=/usr patch
Author: Osamu Aoki <osamu@debian.org>
EOF
# dpkg-source doesn't add ===== line, so fake it
sed -i -e 's/^=*$//g' debian/patches/000-prefix-usr.patch