File: step120.cmd

package info (click to toggle)
debmake-doc 1.14-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,256 kB
  • sloc: sh: 674; makefile: 469; python: 146; ansic: 114; sed: 16
file content (9 lines) | stat: -rwxr-xr-x 321 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
L "cp -a ${PROJECT} ${PROJECT}.orig"
echo " \$ vim ${PROJECT}/Makefile"
echo " ... hack, hack, hack, ..."
sed -i -e 's/\/usr\/local/\/usr/'  ${PROJECT}/Makefile
L "diff -Nru ${PROJECT}.orig ${PROJECT} >000-prefix-usr.patch" || true
L "cat 000-prefix-usr.patch"
L "rm -rf ${PROJECT}"
L "mv -f ${PROJECT}.orig ${PROJECT}"