2010-11-06 Dirk Pranke <dpranke@chromium.org>
authordpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 7 Nov 2010 02:44:15 +0000 (02:44 +0000)
committerdpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 7 Nov 2010 02:44:15 +0000 (02:44 +0000)
        Unreviewed, build breakage.

        Apparently I uploaded the wrong version of the file to fix 49122
        and neither Eric or I noticed - it was missing a dirname() call.
        Fixing ...

        https://bugs.webkit.org/show_bug.cgi?id=49122

        * Scripts/webkitpy/common/checkout/scm.py:

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

WebKitTools/ChangeLog
WebKitTools/Scripts/webkitpy/common/checkout/scm.py

index c509f7fdd8f6d7e8534d46bf74d99b38ddb2eb88..c04460f53e0865844ec685d2430e7382e7cbf6c6 100644 (file)
@@ -1,3 +1,15 @@
+2010-11-06  Dirk Pranke  <dpranke@chromium.org>
+
+        Unreviewed, build breakage.
+
+        Apparently I uploaded the wrong version of the file to fix 49122
+        and neither Eric or I noticed - it was missing a dirname() call.
+        Fixing ...
+
+        https://bugs.webkit.org/show_bug.cgi?id=49122
+
+        * Scripts/webkitpy/common/checkout/scm.py:
+
 2010-11-06  Dirk Pranke  <dpranke@chromium.org>
 
         Reviewed by Eric Seidel.
index 7870fffdfca11207b9da0a375ba871764cfae6fe..8aadcb87c2755c551745f18ae169c88f0263850a 100644 (file)
@@ -64,7 +64,7 @@ def default_scm():
     cwd = os.getcwd()
     scm_system = detect_scm_system(cwd)
     if not scm_system:
-        script_directory = os.path.abspath(__file__)
+        script_directory = os.path.dirname(os.path.abspath(__file__))
         scm_system = detect_scm_system(script_directory)
         if scm_system:
             log("The current directory (%s) is not a WebKit checkout, using %s" % (cwd, scm_system.checkout_root))