debian/tools/remove-ui-basepath.sed
raw| 1 | #!/bin/sed --separate -f |
| 2 | # |
| 3 | # "--separate" option is required to point the 1st line of each input file. |
| 4 | # |
| 5 | # Replace build dir to "<BUILDDIR>" in pyuic6 output file. |
| 6 | |
| 7 | 1 { |
| 8 | s!^\(# Form implementation generated from reading ui file '/\).\+\(/src/calibre/gui2/.\+\.ui'\)$!\1<BUILDDIR>\2! |
| 9 | } |