<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>Thanks for your answer.<br>
    </p>
    <p>I think I've pulled the source (cd /usr; make dports-update) but
      I really don't know how to upgrade sh from this point on.
      Remember, I need to have a working sh with the pipefail option to
      use it for a build.</p>
    <p>Regards,<br>
    </p>
    <pre class="moz-signature" cols="72">Balázs

On 2/18/21 2:03 PM, Aaron LI wrote:
</pre>
    <blockquote type="cite"
      cite="mid:15CEDC4D-D81D-4FBD-B851-0A813C78FC96@aaronly.me">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Sorry, forgot to Cc the list.<br>
        <br>
        <br>
        Begin forwarded message:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div dir="ltr"><b>From:</b> Aaron LI <a class="moz-txt-link-rfc2396E" href="mailto:aly@aaronly.me"><aly@aaronly.me></a><br>
          <b>Date:</b> February 18, 2021 at 20:55:41 GMT+8<br>
          <b>To:</b> Jávorszky Balázs <a class="moz-txt-link-rfc2396E" href="mailto:javorszky.balazs@gmail.com"><javorszky.balazs@gmail.com></a><br>
          <b>Subject:</b> <b>Re:  New binary packages available (Sync
            Jan 17 2021)</b><br>
          <br>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div dir="ltr">
          <meta http-equiv="content-type" content="text/html;
            charset=UTF-8">
          <div dir="ltr"><br>
          </div>
          <div dir="ltr"><br>
            <blockquote type="cite">On Feb 18, 2021, at 20:17, Jávorszky
              Balázs <a class="moz-txt-link-rfc2396E" href="mailto:javorszky.balazs@gmail.com"><javorszky.balazs@gmail.com></a> wrote:<br>
              <br>
            </blockquote>
          </div>
          <blockquote type="cite">
            <div dir="ltr">
              <meta http-equiv="Content-Type" content="text/html;
                charset=UTF-8">
              <p>Guys,</p>
              <p>When I do anything in dports, I get the following:</p>
              <pre><font color="#ff0034"><tt># cd </tt><tt><tt>/usr/dports/deskutils/calibre</tt>
# make build</tt><tt>
</tt><tt>set: Illegal option -o pipefail</tt><tt>
</tt><tt>*** Error code 2</tt><tt>
</tt><tt>
</tt><tt>Stop.</tt><tt>
</tt><tt>make: stopped in /usr/dports/deskutils/calibre</tt><tt>
</tt></font></pre>
              <p>I checked it, and <font color="#ff0034"><tt>set -o
                    pipefail</tt></font> is in almost every script in <font
                  color="#ff0034"><tt>/usr/dports/Mk/Scripts</tt></font>
                and <font color="#ff0034"><tt>/bin/sh</tt></font>
                really does not have the <font color="#ff0034">pipefail</font>
                option.</p>
            </div>
          </blockquote>
          The sh in DragonFly 5.8 release recently has received a bunch
          of updates, including the pipefail option.  So you can pull
          the source and upgrade the system.
          <div><br>
          </div>
          <div>Cheers </div>
          <div>Aaron</div>
        </div>
      </blockquote>
    </blockquote>
  </body>
</html>