From ae9673d50b15574c5512727ee17bbf15baa6ea89 Mon Sep 17 00:00:00 2001 From: VXP <3075683+UAVXP@users.noreply.github.com> Date: Wed, 6 Mar 2024 19:55:37 +0200 Subject: [PATCH] Adjust Tokens.md to correspond to codebase (#2192) Tokens page shows that {MKDIR} only calls mkdir Windows command, so it would be confusing to people who write "if not exist {MKDIR} blabla" to get an error while compiling --- website/docs/Tokens.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/Tokens.md b/website/docs/Tokens.md index e7b2c823b7..32a9da607f 100644 --- a/website/docs/Tokens.md +++ b/website/docs/Tokens.md @@ -105,7 +105,7 @@ The available tokens, and their replacements: | {COPYDIR} | xcopy /Q /E /Y /I {args} | cp -rf {args} | | {DELETE} | del {args} | rm -rf {args} | | {ECHO} | echo {args} | echo {args} | -| {MKDIR} | mkdir {args} | mkdir -p {args} | +| {MKDIR} | IF NOT EXIST {args} (mkdir {args}) | mkdir -p {args} | | {MOVE} | move /Y {args} | mv -f {args} | | {RMDIR} | rmdir /S /Q {args} | rm -rf {args} | | {TOUCH} | type nul >> {arg} && copy /b {arg}+,, {arg} | touch {args} |