Re: Where can build scripts be found?
- Date: Fri, 27 Jan 2017 20:16:02 -0800
- From: Thomas Nyberg <tomuxiong@xxxxxxx>
- Subject: Re: Where can build scripts be found?
On 01/25/2017 11:18 PM, Sven Joachim wrote:
> This seems to be a recurring problem in Mozilla's build process, it
> fails because SHELL is not set in the environment. You can work around
> that by passing --preserve-envvar=SHELL to debuild.
I tried doing this, but I get an error:
$ debuild -uc -us -b --preserve-envvar=SHELL
debuild: unknown dpkg-buildpackage/debuild option: --preserve-envvar=SHELL
dpkg-buildpackage -rfakeroot -D -us -uc -b --preserve-envvar=SHELL
dpkg-buildpackage: unknown option or argument --preserve-envvar=SHELL
Use --help for program usage information.
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -b --preserve-envvar=SHELL failed
I wasn't able to track down the --preserve-envvar flag in the debuild
docs. Is that the correct place to pass it?