Fix .sh line endings settings.
This commit is contained in:
Marc Schier 2017-03-13 10:15:07 +01:00 коммит произвёл GitHub
Родитель 56908f1595
Коммит ea9fa8be43
2 изменённых файлов: 28 добавлений и 1 удалений

27
.gitattributes поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
# Default behavior: if Git thinks a file is text (as opposed to binary), it
# will normalize line endings to LF in the repository, but convert to your
# platform's native line endings on checkout (e.g., CRLF for Windows).
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout. E.g.,
#*.c text
# Declare files that will always have CRLF line endings on checkout. E.g.,
#*.sln text eol=crlf
# Declare files that will always have LF line endings on checkout. E.g.,
*.sh text eol=lf
*.json text eol=lf
# Denote all files that should not have line endings normalized, should not be
# merged, and should not show in a textual diff.
*.docm binary
*.docx binary
*.ico binary
*.lib binary
*.png binary
*.pptx binary
*.snk binary
*.vsdx binary
*.xps binary

Просмотреть файл

@ -21,7 +21,7 @@ RUN \
&& \
git -C /build/gateway submodule update --recursive --init \
&& \
/build/module/bld/build.sh -C Release -i /build/gateway -o /gateway \
bash /build/module/bld/build.sh -C Release -i /build/gateway -o /gateway \
&& \
ldconfig /gateway/Release