Merge lp:~cjwatson/cupstream2distro/fix-symbols-replacement into lp:cupstream2distro
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Robert Bruce Park |
Approved revision: | 634 |
Merged at revision: | 630 |
Proposed branch: | lp:~cjwatson/cupstream2distro/fix-symbols-replacement |
Merge into: | lp:cupstream2distro |
Diff against target: |
43 lines (+21/-1) 2 files modified
cupstream2distro/packagemanager.py (+4/-1) tests/unit/test_packagemanager.py (+17/-0) |
To merge this branch: | bzr merge lp:~cjwatson/cupstream2distro/fix-symbols-replacement |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Bruce Park (community) | Approve | ||
John Lenton (community) | Approve | ||
Review via email: mp+227434@code.launchpad.net |
Commit message
Don't try to substitute 0replaceme in directories or symlinks.
Description of the change
r629 broke building any package containing a directory under debian/, such as debian/source/ (so including but not limited to all 3.0 (quilt) packages). See https:/
Make sure only to attempt substitutions in regular files, not directories or symlinks.
To post a comment you must log in.
Incidentally, I would have written a unit test for this, but the relevant tests (tests. unit.test_ packagemanager. PackageManagerO fflineTests) currently fail in flames. Perhaps somebody could fix things up a bit there ...