mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00

Add enforecment script that verifies that only specified file types are allowed to be mared as executable. Change-Id: I4b40e3a46b03bfc78a9dcd52e8bf29cb079b7f3b Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
9 lines
No EOL
187 B
Batchfile
Executable file
9 lines
No EOL
187 B
Batchfile
Executable file
@echo OFF
|
|
|
|
for %%D in (c,d,e) do (
|
|
If exist %%D:\ (
|
|
for /f "delims=" %%f in ('dir /b /s %%D:\%1 2^> NUL') do (
|
|
@echo %1 found: %%~dpf
|
|
)
|
|
)
|
|
) |