summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2011-01-28 15:17:00 +0100
committeraxis <qt-info@nokia.com>2011-04-27 12:05:57 +0200
commit8e4fc361a55c54fbaf5c813a5f3f344fd394bcaa (patch)
treedd8337a018851b24751ce56abf86a03ea60bf867 /bin
parent59db0a203dd7675d700dc5d772fb8bdb9dc1d0d5 (diff)
Made sure syncqt gets called correctly even if it is not in the PATH.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt.bat6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/syncqt.bat b/bin/syncqt.bat
index dd0da87f19..5167f3b4ab 100755
--- a/bin/syncqt.bat
+++ b/bin/syncqt.bat
@@ -38,5 +38,7 @@
:: $QT_END_LICENSE$
::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-@rem ***** This assumes PERL is in the PATH *****
-@perl.exe -S syncqt %*
+@echo off
+rem ***** This assumes PERL is in the PATH *****
+set scriptpath=%~dp0
+perl.exe %scriptpath%syncqt %*