Correct the path used by forfiles commands

This commit is contained in:
Cameron Gutman
2019-04-23 23:25:10 -07:00
parent 34c615a5fd
commit 92b3918b26

View File

@@ -128,11 +128,11 @@ windeployqt.exe --dir %DEPLOY_FOLDER% --%BUILD_CONFIG% --qmldir %SOURCE_ROOT%\ap
if !ERRORLEVEL! NEQ 0 goto Error
echo Generating QML cache
forfiles /m *.qml /s /c "cmd /c qmlcachegen.exe @path"
forfiles /p %DEPLOY_FOLDER% /m *.qml /s /c "cmd /c qmlcachegen.exe @path"
if !ERRORLEVEL! NEQ 0 goto Error
echo Deleting original QML files
forfiles /m *.qml /s /c "cmd /c del @path"
forfiles /p %DEPLOY_FOLDER% /m *.qml /s /c "cmd /c del @path"
if !ERRORLEVEL! NEQ 0 goto Error
echo Harvesting files for WiX