[PDK-8865] Fix powershell call on windows for image signing step
authorJesse Villarreal <jesse.villarreal@ti.com>
Tue, 8 Dec 2020 19:40:40 +0000 (13:40 -0600)
committerSujith Shivalingappa <sujith.s@ti.com>
Wed, 9 Dec 2020 09:57:13 +0000 (03:57 -0600)
- The quote was misplaced, causing the powershell call to fail
  when running on windows.
- Moving the quote until the ps1 command fixes the problem.

packages/ti/boot/sbl/tools/scripts/K3ImageGen.bat

index 01b212248a6badf36d7b1be6b20c0bdde813e310..33da843e539c87e514db4cc86d082d894c8c0068 100644 (file)
@@ -66,7 +66,7 @@ REM ImageGen
 if defined image_gen (
 echo Generating MulticoreImage 
 "%TOOLS_PATH%\multicoreImageGen\bin\MulticoreImageGen.exe" LE %Dev_ID% %BIN_PATH%\%APP_OUT_NAME%.appimage %CORE_ID% %APP_RPRC%
-"powershell -executionpolicy unrestricted -command %PDK_INSTALL_PATH%\ti\build\makerules\x509CertificateGen.ps1" -b %BIN_PATH%\%APP_OUT_NAME%.appimage -o %BIN_PATH%\%APP_OUT_NAME%.appimage.signed -c R5 -l 0x0 -k %PDK_INSTALL_PATH%\ti\build\makerules\k3_dev_mpk.pem )
+powershell -executionpolicy unrestricted -command "%PDK_INSTALL_PATH%\ti\build\makerules\x509CertificateGen.ps1" -b %BIN_PATH%\%APP_OUT_NAME%.appimage -o %BIN_PATH%\%APP_OUT_NAME%.appimage.signed -c R5 -l 0x0 -k %PDK_INSTALL_PATH%\ti\build\makerules\k3_dev_mpk.pem )
 
 if not defined image_gen (
 echo. Error Application .out missing!! )