reproduce-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #15996] bash options: -u and -o pipefail


From: Boud Roukema
Subject: [task #15996] bash options: -u and -o pipefail
Date: Fri, 25 Jun 2021 20:48:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #4, task #15996 (project reproduce):

If I have the time to look at this in depth, I'll create a branch, but the
task is open to any other volunteers... My impression was that there could be
quite a few cases to handle beyond LIBS in cmake.

Dash appears to have _-u_ , from 'info dash':

          -u nounset       Write a message to standard error when attempting
to expand a variable that is not set, and if the shell is not interactive,
exit
                            immediately.


but doesn't seem to have _-o pipefail_ . 

So _-u_ should be usable for _basic.mk_ - but obviously will have to be tested
properly first.


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?15996>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]