Remove mkinstalldirs invocation from two places (mono/mono#17910)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 25 Nov 2019 20:10:26 +0000 (21:10 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Nov 2019 20:10:26 +0000 (21:10 +0100)
These can be easily replaced so we don't need to mirror over the mkinstalldirs file to the new repo

Commit migrated from https://github.com/mono/mono/commit/e437330808f6f7838eb025e0f46898d69b044823

src/mono/mono/btls/Makefile.am
src/mono/msvc/Makefile.am

index 9508087..9a38544 100644 (file)
@@ -72,9 +72,9 @@ clean-local:
        -rm -rf build-shared
 
 install-exec-local:
-       $(mkinstalldirs) "$(DESTDIR)$(libdir)"
+       mkdir -p "$(DESTDIR)$(libdir)"
 if HOST_WIN32
-       $(mkinstalldirs) "$(DESTDIR)$(bindir)"
+       mkdir -p "$(DESTDIR)$(bindir)"
        $(install_sh) build-shared/libmono-btls-shared*.a "$(DESTDIR)$(libdir)"
        $(install_sh) build-shared/libmono-btls-shared*.dll "$(DESTDIR)$(bindir)"
 else
index b2cc416..a708210 100644 (file)
@@ -25,8 +25,8 @@ clean-local:
 
 install-exec-local:
        @echo "Install Visual Studio build Mono runtime."
-       $(mkinstalldirs) "$(DESTDIR)$(libdir)"
-       $(mkinstalldirs) "$(DESTDIR)$(bindir)"
+       mkdir -p "$(DESTDIR)$(libdir)"
+       mkdir -p "$(DESTDIR)$(bindir)"
        $(install_sh) $(mono_msvc_build_lib_dir)/*.lib "$(DESTDIR)$(libdir)"
        $(install_sh) $(mono_msvc_build_bin_dir)/*.dll "$(DESTDIR)$(bindir)"
        $(install_sh) $(mono_msvc_build_bin_dir)/*.exe "$(DESTDIR)$(bindir)"