Don't search for the tools under PDT_HOME\utilities but only under ..
authorDario Sestito <darios@symbian.org>
Thu, 10 Jun 2010 15:16:46 +0100
changeset 257 171a870d4d52
parent 256 578dff671e26
child 258 b9b02349bd48
Don't search for the tools under PDT_HOME\utilities but only under ..
bin/clone_all_packages.bat
bin/dbr.bat
bin/downloadkit.bat
bin/envinfo.bat
bin/truclean.bat
bin/uh.bat
--- a/bin/clone_all_packages.bat	Thu Jun 10 11:06:18 2010 +0100
+++ b/bin/clone_all_packages.bat	Thu Jun 10 15:16:46 2010 +0100
@@ -12,13 +12,4 @@
 @REM Description:
 @REM Invokes the tool by call to the related interpreter
 
-@SETLOCAL
-@IF NOT "%PDT_HOME%"=="" (
-SET UTILITIES_HOME=%PDT_HOME%\utilities
-) ELSE (
-SET UTILITIES_HOME=%~dp0\..
-)
-
-@perl %UTILITIES_HOME%\clone_packages\clone_all_packages.pl %*
-
-@ENDLOCAL
+@perl %~dp0\..\clone_packages\clone_all_packages.pl %*
--- a/bin/dbr.bat	Thu Jun 10 11:06:18 2010 +0100
+++ b/bin/dbr.bat	Thu Jun 10 15:16:46 2010 +0100
@@ -12,13 +12,4 @@
 @REM Description:
 @REM Invokes the tool by call to the related interpreter
 
-@SETLOCAL
-@IF NOT "%PDT_HOME%"=="" (
-SET UTILITIES_HOME=%PDT_HOME%\utilities
-) ELSE (
-SET UTILITIES_HOME=%~dp0\..
-)
-
-@python %UTILITIES_HOME%\dbrtools\dbr.py %*
-
-@ENDLOCAL
+@python %~dp0\..\dbrtools\dbr.py %*
--- a/bin/downloadkit.bat	Thu Jun 10 11:06:18 2010 +0100
+++ b/bin/downloadkit.bat	Thu Jun 10 15:16:46 2010 +0100
@@ -12,13 +12,4 @@
 @REM Description:
 @REM Invokes the tool by call to the related interpreter
 
-@SETLOCAL
-@IF NOT "%PDT_HOME%"=="" (
-SET UTILITIES_HOME=%PDT_HOME%\utilities
-) ELSE (
-SET UTILITIES_HOME=%~dp0\..
-)
-
-@python %UTILITIES_HOME%\downloadkit\downloadkit.py %*
-
-@ENDLOCAL
+@python %~dp0\..\downloadkit\downloadkit.py %*
--- a/bin/envinfo.bat	Thu Jun 10 11:06:18 2010 +0100
+++ b/bin/envinfo.bat	Thu Jun 10 15:16:46 2010 +0100
@@ -12,13 +12,4 @@
 @REM Description:
 @REM Invokes the tool by call to the related interpreter
 
-@SETLOCAL
-@IF NOT "%PDT_HOME%"=="" (
-SET UTILITIES_HOME=%PDT_HOME%\utilities
-) ELSE (
-SET UTILITIES_HOME=%~dp0\..
-)
-
-@perl %UTILITIES_HOME%\envinfo\envinfo.pl %*
-
-@ENDLOCAL
+@perl %~dp0\..\envinfo\envinfo.pl %*
--- a/bin/truclean.bat	Thu Jun 10 11:06:18 2010 +0100
+++ b/bin/truclean.bat	Thu Jun 10 15:16:46 2010 +0100
@@ -12,13 +12,4 @@
 @REM Description:
 @REM Invokes the tool by call to the related interpreter
 
-@SETLOCAL
-@IF NOT "%PDT_HOME%"=="" (
-SET UTILITIES_HOME=%PDT_HOME%\utilities
-) ELSE (
-SET UTILITIES_HOME=%~dp0\..
-)
-
-@perl %UTILITIES_HOME%\uh_parser\truclean.pl %*
-
-@ENDLOCAL
+@perl %~dp0\..\uh_parser\truclean.pl %*
--- a/bin/uh.bat	Thu Jun 10 11:06:18 2010 +0100
+++ b/bin/uh.bat	Thu Jun 10 15:16:46 2010 +0100
@@ -12,13 +12,4 @@
 @REM Description:
 @REM Invokes the tool by call to the related interpreter
 
-@SETLOCAL
-@IF NOT "%PDT_HOME%"=="" (
-SET UTILITIES_HOME=%PDT_HOME%\utilities
-) ELSE (
-SET UTILITIES_HOME=%~dp0\..
-)
-
-@perl %UTILITIES_HOME%\uh_parser\uh.pl %*
-
-@ENDLOCAL
+@perl %~dp0\..\uh_parser\uh.pl %*