tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r896039 - /tomcat/native/branches/1.1.x/jnirelease.sh
Date Tue, 05 Jan 2010 13:57:56 GMT
Author: mturk
Date: Tue Jan  5 13:57:56 2010
New Revision: 896039

URL: http://svn.apache.org/viewvc?rev=896039&view=rev
Log:
Use our lineends.pl script instead unix2dos utility

Modified:
    tomcat/native/branches/1.1.x/jnirelease.sh

Modified: tomcat/native/branches/1.1.x/jnirelease.sh
URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/jnirelease.sh?rev=896039&r1=896038&r2=896039&view=diff
==============================================================================
--- tomcat/native/branches/1.1.x/jnirelease.sh (original)
+++ tomcat/native/branches/1.1.x/jnirelease.sh Tue Jan  5 13:57:56 2010
@@ -90,7 +90,7 @@
     echo ""
     exit 1
 fi
-UNIX2DOS="`which unix2dos 2>/dev/null || type unix2dos 2>&1`"
+PERL="`which perl 2>/dev/null || type perl 2>&1`"
 echo $JKJNIEXT | egrep -e 'x$' > /dev/null 2>&1
 if [ $? -eq 0 ]; then
     USE_BRANCH=1
@@ -170,12 +170,12 @@
 for i in KEYS LICENSE NOTICE README.txt
 do
     svn cat ${JKJNISVN}/${i} > ${JKWINDIST}/${i}
-    if [ -x "$UNIX2DOS" ]; then
-        $UNIX2DOS ${JKWINDIST}/${i}
+    if [ -x "$PERL" ]; then
+        $PERL ${JKWINDIST}/jni/native/build/lineends.pl --cr ${JKWINDIST}/${i}
     fi
 done
-if [ -x "$UNIX2DOS" ]; then
-    $UNIX2DOS ${JKWINDIST}/CHANGELOG.txt 2>/dev/null
+if [ -x "$PERL" ]; then
+    $PERL ${JKWINDIST}/jni/native/build/lineends.pl --cr ${JKWINDIST}/CHANGELOG.txt
 fi
 zip -9rqyo ${JKWINDIST}.zip ${JKWINDIST}
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message