1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00
cdt/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/scripts/find_path.bat
Torbjörn Svensson e632011f2c Bug 568728: Drop execute permission on files
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>
2020-11-18 17:38:22 +01:00

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
)
)
)