Quoting Xavier (2018-11-14 20:04:02)
> Fixed, it works now but I don't understand the interest of this tool: it
> gives just a command line to build...
> 
> It's really different than srebuild

You are free to change a line that says:

print "sbuild --option1 --option2 --option3"

into a line that says:

exec "sbuild --option1 --option2 --option3"

If that is what you want the script to do. The reason the script in its current
form doesn't do that is because the script is supposed to work with multiple
builders. Some builders (dpkg-buildpackage and pbuilder) need sudo and since
the script is just a proof-of-concept I didn't want to write a script that does
anything with sudo and then potentially messes up the user's system as a
result. Thus, in its current state, the script only prints the commends that
the user is supposed to execute if they know what they are doing.

But if you feel confident, that you can run the whole script as root without
anything going wrong, feel free to change these "print" lines into "exec" lines
as I said before.

Attachment: signature.asc
Description: signature

Reply via email to