aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estouchy/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'addons/skin.estouchy/build.bat')
-rw-r--r--addons/skin.estouchy/build.bat8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/skin.estouchy/build.bat b/addons/skin.estouchy/build.bat
index feb59dc522..2af3b6749a 100644
--- a/addons/skin.estouchy/build.bat
+++ b/addons/skin.estouchy/build.bat
@@ -1,8 +1,8 @@
@echo off
ECHO ----------------------------------------
echo Creating estouchy Build Folder
-IF Exist ..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy rmdir ..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy /S /Q
-md ..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy\media\
+IF Exist %base_dir%\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy rmdir %base_dir%\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy /S /Q
+md %base_dir%\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy\media\
Echo build.bat>>exclude.txt
Echo .git>>exclude.txt
@@ -11,11 +11,11 @@ Echo exclude.txt>>exclude.txt
ECHO ----------------------------------------
ECHO Creating XBT File...
-START /B /WAIT ..\..\Tools\TexturePacker\TexturePacker -dupecheck -input media -output ..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy\media\Textures.xbt
+START /B /WAIT %base_dir%\Tools\TexturePacker\TexturePacker -dupecheck -input media -output %base_dir%\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy\media\Textures.xbt
ECHO ----------------------------------------
ECHO XBT Texture Files Created...
ECHO Building Skin Directory...
-xcopy "..\skin.estouchy" "..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy" /E /Q /I /Y /EXCLUDE:exclude.txt
+xcopy "..\skin.estouchy" "%base_dir%\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy" /E /Q /I /Y /EXCLUDE:exclude.txt
del exclude.txt