Force UNIX style line endings for shell scripts.

Shell scripts must have UNIX style endings even on Windows so that when the 
projects is built, packaged and run on Linux they work without errors.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn/commit/00bae177
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn/tree/00bae177
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn/diff/00bae177

Branch: refs/heads/0.7.0-incubating
Commit: 00bae1777a6bc35a60823594f8ceddd105fd7274
Parents: 6733d59
Author: Svetoslav Neykov <[email protected]>
Authored: Thu Aug 28 21:10:58 2014 +0300
Committer: Svetoslav Neykov <[email protected]>
Committed: Thu Aug 28 21:10:58 2014 +0300

----------------------------------------------------------------------
 .gitattributes | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn/blob/00bae177/.gitattributes
----------------------------------------------------------------------
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..2bca294
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+#Don't auto-convert line endings for shell scripts on Windows (breaks the 
scripts)
+*.sh text eol=lf

Reply via email to