Skip to content

Commit 3d801bf

Browse files
Release: Use mkdir -p when creating JRE directory
Invocation of mkdir which was used to create directory for JRE was a long standing problem which was causing problems when restarting unfinished toolchain releases, because mkdir used to fail if that folder already existed from previous attempt. Signed-off-by: Anton Kolesov <[email protected]>
1 parent dabacc9 commit 3d801bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ $O/.stamp_ide_linux_tar: \
777777
$(LOCAL_CP) $O/$(TOOLS_ELFBE_HOST_DIR)/* $O/$(IDE_LINUX_INSTALL)
778778
$(LOCAL_CP) $O/$(TOOLS_LINUXLE_HS_HOST_DIR)/* $O/$(IDE_LINUX_INSTALL)
779779
$(LOCAL_CP) $O/$(TOOLS_LINUXBE_HS_HOST_DIR)/* $O/$(IDE_LINUX_INSTALL)
780-
mkdir -m775 $O/$(IDE_LINUX_INSTALL)/eclipse/jre
780+
mkdir -p -m775 $O/$(IDE_LINUX_INSTALL)/eclipse/jre
781781
tar xf $O/$(JRE_LINUX_TGZ) -C $O/$(IDE_LINUX_INSTALL)/eclipse/jre \
782782
--strip-components=1
783783
$(LOCAL_CP) $O/$(OOCD_HOST_DIR)/* $O/$(IDE_LINUX_INSTALL)

0 commit comments

Comments
 (0)