mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Mark exe and dll files as executable
When git is configured to honor executable bit for files (core.fileMode=true), the .exe and .dll files in the repository needs to have execute bit set to be able to run Eclipse in runtime mode on Windows. For more details: https://git-scm.com/docs/git-config#Documentation/git-config.txt-corefileMode "Git for Windows" does not appear to have this problem, but at least Cygwin does. Change-Id: I4c164f6d99219d461c301189f101ccbf63debb50 Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
This commit is contained in:
parent
d017917f35
commit
6e19332c33
8 changed files with 8 additions and 0 deletions
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/listtasks.exe
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/listtasks.exe
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/pty.dll
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/pty.dll
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/spawner.dll
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/spawner.dll
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/starter.exe
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/starter.exe
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/winpty-agent.exe
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/winpty-agent.exe
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/winpty.dll
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/winpty.dll
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/winreg.dll
Normal file → Executable file
0
core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/winreg.dll
Normal file → Executable file
|
@ -115,6 +115,14 @@ if test -e native/org.eclipse.cdt.native.serial/jni; then
|
|||
fi
|
||||
fi
|
||||
|
||||
##
|
||||
# Mark Windows binaries as executable
|
||||
##
|
||||
echo "Marking Windows binaries as executable"
|
||||
git ls-files -- \*.exe \*.dll | while read line; do
|
||||
chmod +x "$line"
|
||||
done
|
||||
|
||||
##
|
||||
# Check that none of the above caused any changes
|
||||
##
|
||||
|
|
Loading…
Add table
Reference in a new issue