Author: markt Date: Wed Jul 2 17:06:31 2014 New Revision: 1607422 URL: http://svn.apache.org/r1607422 Log: Tweak sed command so it does the same thing but works on OSX
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=1607422&r1=1607421&r2=1607422&view=diff ============================================================================== --- tomcat/native/branches/1.1.x/jnirelease.sh (original) +++ tomcat/native/branches/1.1.x/jnirelease.sh Wed Jul 2 17:06:31 2014 @@ -192,7 +192,7 @@ fi # Remove first 25 lines from converted file which contains # page navagation data. # Remember to increase the lines when new file is added to news. -sed -i '1,25d' ../../CHANGELOG.txt +sed -i '' '1,25d' ../../CHANGELOG.txt cd "$top" mv ${JKJNIDIST}/jni/build/docs ${JKJNIDIST}/jni/docs rm -rf ${JKJNIDIST}/jni/build --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org