URL:
<https://savannah.gnu.org/support/?110971>
Summary: busybox mkdir is misdetected
Group: Autoconf
Submitter: uwe
Submitted: Wed 06 Dec 2023 11:01:58 AM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 06 Dec 2023 11:01:58 AM UTC By: Valery Ushakov <uwe>
AC_PROG_MKDIR_P checks the output of mkdir --version with
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in
...
and checks for busybox with the pattern
'BusyBox '*
However that pattern fails because in
uwe@Alpine:~$ busybox mkdir --version 2>&1
mkdir: unrecognized option: version
BusyBox v1.36.1 (2023-11-07 18:53:09 UTC) multi-call binary.
Usage: mkdir [-m MODE] [-p] DIRECTORY...
...
the error message about unrecognized option gets in the way.
Either stderr should be redirected away to /dev/null or the pattern changed by
prepending a * before BusyBox.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110971>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/