summaryrefslogtreecommitdiff
path: root/system/libelf/mkdir-p.patch
blob: 38a4712d8e42524df8a07ec3510d4944b81521e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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}/"