Skip to content

Commit 1a63ee4

Browse files
author
D. Domig
authored
Merge pull request #2 from bbtsoftware/add-gitattributes
Add gitattributes
2 parents e8a2b76 + 56d8366 commit 1a63ee4

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* eol=lf

entrypoint.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
#!/bin/bash
22

3-
# Script to check if a docker swarm service is running and has the expected amount of instances
4-
#
5-
# ! When editing a bash script on a Windows machine you may get the following error on deploying:
6-
#
7-
# /monitor/check.sh: line x: syntax error near unexpected token `$'\r''
8-
#
9-
# The solution is to change the line sequence from `CRLF` to `LF` before save and verify if
10-
# the path to the file is in `.gitattributes`.
11-
#
12-
# See: https://stackoverflow.com/questions/27176781/bash-file-returns-unexpected-token-do-r
13-
143
# Output version
154
echo -e "\nStarting swarm-monitor ${VERSION} ..."
165

0 commit comments

Comments
 (0)