[Bug 247448] [patch] ports-mgmt/poudriere: jail -d -C never worked

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 20 21:50:57 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247448

            Bug ID: 247448
           Summary: [patch] ports-mgmt/poudriere: jail -d -C never worked
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery at FreeBSD.org
          Reporter: vsasjason at gmail.com
          Assignee: bdrewery at FreeBSD.org
             Flags: maintainer-feedback?(bdrewery at FreeBSD.org)

Created attachment 215830
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215830&action=edit
fix -C option

This have been implemented in https://github.com/freebsd/poudriere/pull/532,
but one of the commits
(https://github.com/freebsd/poudriere/pull/532/commits/33d6823387fc20480ff251adcc0bf7f3303c7ea8)
was incorrect, and CLEANJAIL variable always equals 0.
Mentioned commit changed CLEAN to CLEANJAIL in lines -1021,+1016, but
-1079,+1074 done incorrectly:

CLEAN=${CLEAN:-none}
CLEANJAIL=${CLEAN:-none}

Second should be:
CLEANJAIL=${CLEANJAIL:-none}
Or even better:
: "${CLEANJAIL:=none}"

I don't have a GitHub account, so attached patch that fixes ports tree itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list