From bf25b87e6036bbed56bdf88a1a798da241def209 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sun, 7 Dec 2008 08:55:43 +0000 Subject: [PATCH] Use 'common.mkdir' as the name of the action shown to user. There's no need to include 'quick-fix' in that text :-) [SVN r50174] --- src/tools/common.jam | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/src/tools/common.jam b/src/tools/common.jam index 134d580d5..d37c14d7a 100644 --- a/src/tools/common.jam +++ b/src/tools/common.jam @@ -596,14 +596,7 @@ rule MkDir $(<)-mkdir = true ; # Schedule the mkdir build action. - if [ os.name ] = NT - { - MkDir1-quick-fix-for-windows $(<) ; - } - else - { - MkDir1-quick-fix-for-unix $(<) ; - } + common.mkdir $(<) ; # Prepare a Jam 'dirs' target that can be used to make the build only # construct all the target directories. @@ -638,26 +631,30 @@ rule MkDir } -actions MkDir1 -{ - mkdir "$(<)" -} +#actions MkDir1 +#{ +# mkdir "$(<)" +#} - -# (todo) # The following quick-fix actions should be replaced using the original MkDir1 # action once Boost Jam gets updated to correctly detect different paths leading # up to the same filesystem target and triggers their build action only once. # (todo) (04.07.2008.) (Jurko) -actions MkDir1-quick-fix-for-unix -{ - mkdir -p "$(<)" -} -actions MkDir1-quick-fix-for-windows -{ - if not exist "$(<)\\" mkdir "$(<)" -} +if [ os.name ] = NT +{ + actions mkdir + { + if not exist "$(<)\\" mkdir "$(<)" + } +} +else +{ + actions mkdir + { + mkdir -p "$(<)" + } +} actions piecemeal together existing Clean {