Skip to content
This repository
Browse code

[win32]cosmetic: clean up the pvr addon names in the installer

  • Loading branch information...
commit 1a69eb0db3d451a703105358ee3bfa93f45f1521 1 parent 9184b78
Martijn Kaijser authored August 16, 2013
4  project/Win32BuildSetup/genNsisIncludes.bat
@@ -26,7 +26,9 @@ FOR /F "tokens=*" %%S IN ('dir /B /AD BUILD_WIN32\Xbmc\language') DO (
26 26
 
27 27
 SET Counter=1
28 28
 FOR /F "tokens=*" %%P IN ('dir /B /AD BUILD_WIN32\Xbmc\xbmc-pvr-addons') DO (
29  
-  ECHO Section "%%P" SecPvrAddons!Counter! >> xbmc-pvr-addons.nsi
  29
+  SET "output=%%P"
  30
+  SET output=!output:pvr.=!
  31
+  ECHO Section !output! SecPvrAddons!Counter! >> xbmc-pvr-addons.nsi
30 32
   ECHO SectionIn 1 #section is in installtype Full >> xbmc-pvr-addons.nsi
31 33
   ECHO SetOutPath "$INSTDIR\addons\%%P" >> xbmc-pvr-addons.nsi
32 34
   ECHO File /r "${xbmc_root}\Xbmc\xbmc-pvr-addons\%%P\*.*" >> xbmc-pvr-addons.nsi

0 notes on commit 1a69eb0

Please sign in to comment.
Something went wrong with that request. Please try again.