summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authorKirill Volinsky <Mataes2007@gmail.com>2017-11-27 16:11:26 +0300
committerKirill Volinsky <Mataes2007@gmail.com>2017-11-27 16:11:26 +0300
commit40030dfffc72c8a44b8d472b42ef983d0086e245 (patch)
tree51c4932aac66411d0f4f1999301790c15ace1bfd /protocols/Tox
parentb5a72ee1fc2f94db34970db9f1973ea5188517f5 (diff)
Tox: fix for copy dll and create pdb file
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/copydll.cmd10
1 files changed, 6 insertions, 4 deletions
diff --git a/protocols/Tox/copydll.cmd b/protocols/Tox/copydll.cmd
index 4b1f0fb50c..dffde39b53 100644
--- a/protocols/Tox/copydll.cmd
+++ b/protocols/Tox/copydll.cmd
@@ -1,5 +1,7 @@
-echo off
-cd /d ~dp%0
-copy /y bin\%1\libtox.* "%2"
-tools\cv2pdb.exe "%2\libtox.dll"
+@echo off
+set p1=%1
+set p2=%2
+set p3="%~2\libtox.dll"
+copy /y bin\%p1%\libtox.dll %p2%
+tools\cv2pdb.exe %p3%
exit 0