This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/flex-blazeds.git


The following commit(s) were added to refs/heads/develop by this push:
     new c3a1cfd  distribution: force LF for .sh files and CRLF for .bat files
c3a1cfd is described below

commit c3a1cfd0da0a7cc65be36c6ab97c2908784cd726
Author: Josh Tynjala <joshtynj...@apache.org>
AuthorDate: Thu Aug 3 15:45:35 2023 -0700

    distribution: force LF for .sh files and CRLF for .bat files
---
 distribution/src/assembly/assemble-bin.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/distribution/src/assembly/assemble-bin.xml 
b/distribution/src/assembly/assemble-bin.xml
index a43298f..5ca8f85 100644
--- a/distribution/src/assembly/assemble-bin.xml
+++ b/distribution/src/assembly/assemble-bin.xml
@@ -41,7 +41,9 @@
                 <exclude>**/.DS_Store</exclude>
                 <exclude>**/*.jar</exclude>
                 <exclude>**/*.war</exclude>
+                <!-- shell scripts and batch files will be handled separately 
-->
                 <exclude>**/*.sh</exclude>
+                <exclude>**/*.bat</exclude>
             </excludes>
         </fileSet>
         <fileSet>
@@ -49,10 +51,19 @@
             <outputDirectory>/</outputDirectory>
             <!-- needs execute file permission -->
             <fileMode>0755</fileMode>
+            <lineEnding>unix</lineEnding>
             <includes>
                 <include>**/*.sh</include>
             </includes>
         </fileSet>
+        <fileSet>
+            <directory>../</directory>
+            <outputDirectory>/</outputDirectory>
+            <lineEnding>windows</lineEnding>
+            <includes>
+                <include>**/*.bat</include>
+            </includes>
+        </fileSet>
     </fileSets>
     <dependencySets>
         <dependencySet>

Reply via email to