[Bug 259772] Mk/Scripts/sed_checked.sh: Make it respect REINPLACE_ARGS

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Nov 2021 09:03:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259772

            Bug ID: 259772
           Summary: Mk/Scripts/sed_checked.sh: Make it respect
                    REINPLACE_ARGS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yasu@freebsd.org
                CC: ports-bugs@FreeBSD.org

Created attachment 229424
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229424&action=edit
Patch file

Currently this script always uses '.bak' as extension of backup files. As a
result REINPLACE_CMD doesn't work as is expected with developer mode if
REINPLACE_ARGS is set differently from default value (e.g. "-i ''"). So make
the script respect REINPLACE_ARGS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.