Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two minor fixes to Travis #38841

Closed
wants to merge 2 commits into from
Closed

Two minor fixes to Travis #38841

wants to merge 2 commits into from

Commits on Aug 23, 2022

  1. common/travis/build.sh: Handle all retcodes

    There are some cases in which `xbps-src` will exit 2:
      $ ag -c 'exit 2' xbps-src common
      xbps-src:1
      common/xbps-src/shutils/common.sh:2
      $ # 1. Sending INT/TERM to xbps-src,
      $ # 2. attempting to cross-build a `nocross` pkg, and
      $ # 3. attempting to build a `broken` pkg.
    
    build.sh eats that retcode if it's looking only for `exit 1`,
    incorrectly signaling a successful build.
    Goorzhel committed Aug 23, 2022
    Copy the full SHA
    d78a30f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    61b2b8e View commit details
    Browse the repository at this point in the history