In r522484 a new warning has been introduced to check if
REINPLACE_CMD had any effect. This is accomplished by
calling a script called sed_checked.sh and is only done
in DEVELOPER mode and only if REINPLACE_CMD hasn't been
Unfortunately, sed_checked.sh assumes that REINPLACE_ARGS
is -i.bak. If it isn't (e.g., -i ""), the working
directory will contain *.bak files while in DEVELOPER mode,
while containing whatever was defined in REINPLACE_ARGS
(no backup files in case of -i "") when not being in
This impacts commands like make makeplist and isn't
detected while running in DEVELOPER mode (which includes
running poudriere testport), but will fail outside of
it, e.g., when running poudriere bulk.
This patch fixes this by simply not calling sed_checked.sh
in case REINPLACE_ARGS isn't set to the default "-i.bak".
This seemed to be the most straightforward way to correct this,
I also had other ideas like altering sed_checked.sh to
always use a custom extension like .sedchecked and clean
up after itself).