diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-07-26 15:46:36 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 10:08:26 -0500 |
commit | 0f14b4e069398b3c444810467299fdc2f80bd573 (patch) | |
tree | 2b7da3d8280ebfd888c895047bacae887dcc3048 /system/libelf/mkdir-p.patch | |
parent | bc498b89b0041cb1b623a88427ab417596b94f69 (diff) | |
download | packages-0f14b4e069398b3c444810467299fdc2f80bd573.tar.gz packages-0f14b4e069398b3c444810467299fdc2f80bd573.tar.bz2 packages-0f14b4e069398b3c444810467299fdc2f80bd573.tar.xz packages-0f14b4e069398b3c444810467299fdc2f80bd573.zip |
system/libelf: Ensure -p is passed to mkdir
Closes: #1228
Diffstat (limited to 'system/libelf/mkdir-p.patch')
-rw-r--r-- | system/libelf/mkdir-p.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/libelf/mkdir-p.patch b/system/libelf/mkdir-p.patch new file mode 100644 index 000000000..38a4712d8 --- /dev/null +++ b/system/libelf/mkdir-p.patch @@ -0,0 +1,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}/" |