On Ubuntu precise
I am calling "dpkg -q --commit ./ patchsetname"
When I do this it decides to open an editor using the select editor binary.
I want to suppress that. Any thoughts?
I'd rather not have to interrupt the exec syscall with a shared library and filter for the editor query. There should be a cleaner way of doing this.
I just fixed this with the following:
EDITOR=/bin/true dpkg-source -q --commit . patchsetname
This will (obviously) use true
instead of nano
and at least on kubuntu this seems to work fine.