--- libelf-0.8.13/mkinstalldirs.old 2005-05-21 10:28:38.000000000 -0500 +++ libelf-0.8.13/mkinstalldirs 2024-07-26 15:44:20.923580931 -0500 @@ -22,8 +22,8 @@ pathcomp="${pathcomp}${d}" if test ! -d "${pathcomp}"; then - echo "mkdir $pathcomp" 1>&2 - mkdir "${pathcomp}" || errstatus=$? + echo "mkdir -p $pathcomp" 1>&2 + mkdir -p "${pathcomp}" || errstatus=$? fi pathcomp="${pathcomp}/"