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