aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorwiso <wiso@svn>2010-06-03 13:13:39 +0000
committerwiso <wiso@svn>2010-06-03 13:13:39 +0000
commit27a113ca8ab6906a5df5e76ba455bd347b4fd86c (patch)
tree3730848334a50c21e41cd218913b3631c88b7ee2 /project
parentbb20200e4f24e3d61a3d9a3ee681a52ef27c565b (diff)
[WIN32] added optional download path parameter to dependency downloader. This may help billy to store 3rd party libs somewhere else to not download them every day.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30789 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'project')
-rw-r--r--project/BuildDependencies/DownloadBuildDeps.bat7
1 files changed, 6 insertions, 1 deletions
diff --git a/project/BuildDependencies/DownloadBuildDeps.bat b/project/BuildDependencies/DownloadBuildDeps.bat
index 14a2bd4bd7..a35a3f3ab4 100644
--- a/project/BuildDependencies/DownloadBuildDeps.bat
+++ b/project/BuildDependencies/DownloadBuildDeps.bat
@@ -4,9 +4,14 @@ SETLOCAL
SET CUR_PATH=%CD%
SET XBMC_PATH=%CD%\..\..
-SET DL_PATH=%CD%\downloads
SET TMP_PATH=%CD%\scripts\tmp
+IF $%1$ == $$ (
+ SET DL_PATH="%CD%\downloads"
+) ELSE (
+ SET DL_PATH="%1"
+)
+
SET WGET=%CUR_PATH%\bin\wget
SET ZIP=%CUR_PATH%\..\Win32BuildSetup\tools\7z\7za