WebKitTools:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2007 18:07:27 +0000 (18:07 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2007 18:07:27 +0000 (18:07 +0000)
        Reviewed by Darin.

        - fix http://bugs.webkit.org/show_bug.cgi?id=14965
          svn-create-patch uses deprecated tail switch

        * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25070 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/svn-create-patch

index 20b4003a1aa33435a36ac0373b363d614c0b3546..9dc0cc5900f7a02c5c7e1d7472f8b460fe80217f 100644 (file)
@@ -1,3 +1,12 @@
+2007-08-14  David Kilzer  <ddkilzer@webkit.org>
+
+        Reviewed by Darin.
+
+        - fix http://bugs.webkit.org/show_bug.cgi?id=14965
+          svn-create-patch uses deprecated tail switch
+
+        * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
+
 2007-08-13  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Adam Roben.
index 437c4d1993f4595e598f6c0024623393a273f0fd..6ab2f130570df69391e93dc71f25259cc19e50b9 100755 (executable)
@@ -306,7 +306,7 @@ sub manufacturePatchForAdditionWithHistory($)
         my $mimeType = findMimeType($file, $sourceRevision);
         print "svn:mime-type = ${mimeType}\n\n";
     } else {
-        print `svn cat ${sourceFile} | diff -u /dev/null - | tail +3`;
+        print `svn cat ${sourceFile} | diff -u /dev/null - | tail -n +3`;
     }
 }