Re: Bug#89433: I want to adopt osh
Oohara Yuuma <firstname.lastname@example.org> cum veritate scripsit:
> > > debian/rules says:
> > > | # to compile with debugging information:
> > > | # $ debuild -e DEB_BUILD_OPTIONS="debug,nostrip"
> > > | # (this won't work:
> > > | # DEB_BUILD_OPTIONS="debug,nostrip" && debuild)
> > > Note the word "won't".
> > That won't work, because it is syntactically incorrect,
> > and also this is not a place to document how to write
> > bash command lone.
> I cut and pasted
> debuild -e DEB_BUILD_OPTIONS="debug,nostrip"
> and it worked. I can't see why this is syntactically incorrect.
I was saying that
"DEB_BUILD_OPTIONS="debug,nostrip" && debuild"
is syntactically incorrect, and it looks bad to have it in debian/rules.
I think all it does is set DEB_BUILD_OPTIONS="...", unset,
and then run debuild.
But that is talking about shell.
Try testing this snippet:
and on the command-line run:
$ MUHA="fuu" muha.sh
$ MUHA="fuu" && muha.sh
email@example.com : Junichi Uekawa http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423 7447 3059 BF92 CD37 56F4