1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix invalid mkdir detection on OpenBSD

This was broken by 67e54ce408, which
resulted in " -d" being used as the mkdir_p program. I think this
is because $ac_install_sh has been set to '' at the point it is
used.

There's probably a better way to fix this, but this should allow
the OpenBSD CI to continue to work until a better fix is in place.
This commit is contained in:
Jeremy Evans 2022-07-08 12:52:40 -07:00
parent e9ec6893d2
commit 2725c5dbe0
Notes: git 2022-07-09 13:08:52 +09:00

View file

@ -492,6 +492,11 @@ AS_CASE(["$target_os"],
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AS_CASE(["$target_os"],[openbsd*],[
ac_cv_path_mkdir="mkdir"
])
RUBY_PROG_MAKEDIRS
AC_CHECK_PROG([DTRACE], [${ac_tool_prefix}dtrace], [${ac_tool_prefix}dtrace])