summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-02-24 23:05:37 +0300
committerdartraiden <wowemuh@gmail.com>2019-02-24 23:05:37 +0300
commit8eec44fec73a51b39211bbf6efb4cfa5fb0c8c24 (patch)
treeeb1b552393a8a1de29236bc658ad23d3f942144a
parent1fe9f4bfff1747ba4f0094de16dec980ec3da0b0 (diff)
fix for empty ProfileDir path
-rw-r--r--tools/build_scripts/fixme.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build_scripts/fixme.cmd b/tools/build_scripts/fixme.cmd
index 1079cc0acd..a42f534da0 100644
--- a/tools/build_scripts/fixme.cmd
+++ b/tools/build_scripts/fixme.cmd
@@ -1,11 +1,11 @@
@echo off
-set ProfileDir=%~dp0Profiles
-
for /F "tokens=1,2 delims==" %%a in ('findstr "ProfileDir=" mirandaboot.ini') do (
call set ProfileDir=%%b
)
+if "%ProfileDir%"=="" set ProfileDir=%~dp0Profiles
+
echo Using profile directory %ProfileDir%
if "%1" == "" (