You are not logged in.
Pages: 1
AUR guidelines say you can't have backticks in the PKGBUILD. Can someone explain to me why this is bad but commands in build() are ok? Or is it just AUR not playing nice them?
Offline
The AUR doesn't parse the build function it parses vars outside - so we say no backtick execution, or similar, in those vars. Please
Offline
AUR guidelines say you can't have backticks in the PKGBUILD. Can someone explain to me why this is bad but commands in build() are ok? Or is it just AUR not playing nice them?
Because backticks are more or less deprecated. Use $(foo) instead for inline execution.
Heh, the real answer is what everyone else said - the AUR doesn't actually execute things. But still, use $() in place of backticks. The next installment of the POSIX shell standard will deprecate backticks.
Offline
Because backticks are more or less deprecated. Use $(foo) instead for inline execution.
yeah, well aware of that.
The next installment of the POSIX shell standard will deprecate backticks.
good to know thanks.
Thanks all
Offline
Pages: 1