[arch-general] - makepkg now aborts automatically with any errors during packaging
Hello. With such an addition, how do I make a given command not interrupt makepkg? Like command || ignore_errors
On Tuesday 22 June 2010 20:37:45 Evgeny Burmentyev wrote:
Hello. With such an addition, how do I make a given command not interrupt makepkg? Like command || ignore_errors
|| return 0 ? -- Andrea Scarpino - andreascarpino.it KDE Maintainer in Arch Linux
On Tue, Jun 22, 2010 at 08:40:18PM +0200, Andrea Scarpino wrote:
On Tuesday 22 June 2010 20:37:45 Evgeny Burmentyev wrote:
Hello. With such an addition, how do I make a given command not interrupt makepkg? Like command || ignore_errors
|| return 0
? -- Andrea Scarpino - andreascarpino.it KDE Maintainer in Arch Linux
That's it, thank you.
No no no no no. "|| return 0" would exit the function with a success if the command fails. You'll want "|| true" On Tue, Jun 22, 2010 at 8:41 PM, Evgeny Burmentyev <vir.found@gmail.com> wrote:
On Tue, Jun 22, 2010 at 08:40:18PM +0200, Andrea Scarpino wrote:
On Tuesday 22 June 2010 20:37:45 Evgeny Burmentyev wrote:
Hello. With such an addition, how do I make a given command not interrupt makepkg? Like command || ignore_errors
|| return 0
? -- Andrea Scarpino - andreascarpino.it KDE Maintainer in Arch Linux
That's it, thank you.
On Tuesday 22 June 2010 20:52:59 Jan Steffens wrote:
No no no no no. "|| return 0" would exit the function with a success if the command fails.
You'll want "|| true" right, "|| true" is the real 'Ignore'
-- Andrea Scarpino - andreascarpino.it KDE Maintainer in Arch Linux
participants (3)
-
Andrea Scarpino
-
Evgeny Burmentyev
-
Jan Steffens