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/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 267ba30  fix line endings of scripts in bin
267ba30 is described below

commit 267ba30c980a7c6df3408fa1eb49390277f3fc89
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Jan 23 07:54:29 2020 -0800

    fix line endings of scripts in bin
---
 build.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index df7a59c..30a3fc2 100644
--- a/build.xml
+++ b/build.xml
@@ -902,12 +902,17 @@ limitations under the License.
         <echo message="Updating config file node-config.xml with version 
${build.version}"/>
         <fix-config-file 
file="${staging-dir}/frameworks/node-config-template.xml" 
version="${build.version}" />
         
-        
+        <fixcrlf srcdir="${staging-dir}/bin" eol="crlf" fixlast="false">
+            <include name="**/*.bat"/>
+        </fixcrlf>
         <fixcrlf srcdir="${staging-dir}/js/bin" eol="crlf" fixlast="false">
             <include name="**/*.bat"/>
         </fixcrlf>
         
         <!-- Unix shell scripts need the correct line endings. -->
+        <fixcrlf srcdir="${staging-dir}/bin" eol="unix" fixlast="false">
+            <exclude name="**/*.bat"/>
+        </fixcrlf>
         <fixcrlf srcdir="${staging-dir}/js/bin" eol="unix" fixlast="false">
             <exclude name="**/*.bat"/>
         </fixcrlf>

Reply via email to