summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-03-03 12:16:37 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-03-03 12:16:37 +0000
commit19bc810717212080b89cef3fb323932da8a81474 (patch)
tree76f9fca949df662f712711e2665a428401aa4035
parentd94627f90ecac07b3bb7bf9c785fe89ff70a76a3 (diff)
downloadATCD-19bc810717212080b89cef3fb323932da8a81474.tar.gz
ChangeLogTag: Thu Mar 3 12:16:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--bin/MakeProjectCreator/templates/bor.mpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/MakeProjectCreator/templates/bor.mpd b/bin/MakeProjectCreator/templates/bor.mpd
index 9c35b04a770..f04008e9a21 100644
--- a/bin/MakeProjectCreator/templates/bor.mpd
+++ b/bin/MakeProjectCreator/templates/bor.mpd
@@ -113,7 +113,7 @@ PATH := $(PATH);<%custom_type->libpath%>
<%custom_type%>_<%forcount(custom_type->input_files)%>=<%foreach(custom_type->input_file->output_files)%> <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%><%endfor%>
$(<%custom_type%>_<%forcount(custom_type->input_files)%>): <%custom_type->input_file%>
<%if(flag_overrides(custom_type->input_file, gendir))%>
- -mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul
+ -if not exist <%flag_overrides(custom_type->input_file, gendir)%> mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul
<%endif%>
<%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%> <%custom_type->input_file%> <%if(custom_type->output_option)%><%custom_type->output_option%> $@<%endif%>
<%if(flag_overrides(custom_type->input_file, postcommand))%>