pts-core: Fix Windows installer when path has a space

https://github.com/phoronix-test-suite/phoronix-test-suite/issues/464
This commit is contained in:
Michael Larabel
2020-08-18 16:41:15 -05:00
parent 0438703eee
commit 427d308909

View File

@@ -2,7 +2,7 @@
:: Phoronix Test Suite :: Phoronix Test Suite
:: URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/ :: URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
:: Copyright (C) 2018, Phoronix Media :: Copyright (C) 2018 - 2020, Phoronix Media
:: ::
:: This program is free software; you can redistribute it and/or modify :: This program is free software; you can redistribute it and/or modify
:: it under the terms of the GNU General Public License as published by :: it under the terms of the GNU General Public License as published by
@@ -29,5 +29,5 @@ md %destination%
:: cd /d %destination% :: cd /d %destination%
:: for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q) :: for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
xcopy %cd% %destination% /E xcopy "%cd%" %destination% /E
echo Phoronix Test Suite installed to %destination% echo Phoronix Test Suite installed to %destination%