[ALL] though only seems to affect [WINDOWS]
#1
[GetSvnInfo.bat]
Code:
@ECHO OFF
SET target=none
FOR %%b in (%1, %2) DO (
    IF %%b==revision SET target=revision
    IF %%b==branch SET target=branch
)

IF %target%==branch (
  FOR /f "tokens=2* delims=]" %%a in ('find /v /n "&_&_&_&" ".svn\entries" ^| FIND  "[5]"') DO ECHO %%~NaXa
) ELSE (
  IF %target%==revision (FOR /F "Tokens=2* Delims=]" %%R IN ('FIND /v /n "&_&_&_&" ".svn\entries" ^| FIND "[11]"') DO ECHO %%R)
)

should be
Code:
@ECHO OFF
SET target=none
FOR %%b in (%1, %2) DO (
    IF %%b==revision SET target=revision
    IF %%b==branch SET target=branch
)

IF %target%==branch (
  FOR /f "tokens=2* delims=]" %%a in ('find /v /n "&_&_&_&" ".svn\entries" ^| FIND  "[5]"') DO ECHO %%a
) ELSE (
  IF %target%==revision (FOR /F "Tokens=2* Delims=]" %%R IN ('FIND /v /n "&_&_&_&" ".svn\entries" ^| FIND "[11]"') DO ECHO %%R)
)

DO ECHO %%~NaXa has an extra "~NaX" in there.
been that way for a long time too but I just noticed it. Sad
Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore [email protected] - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
Reply
#2
These modifying characters must be there. Did you try what happens without?

I'll agree that the a is unnecessary and %%~nxa would be fine.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
[ALL] though only seems to affect [WINDOWS]0