diff options
author | Bert Belder <bertbelder@gmail.com> | 2010-11-26 06:10:39 +0300 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2010-12-21 01:51:21 +0300 |
commit | 3c3d1d31c56ece6cebf56317403b8cc60cd349fe (patch) | |
tree | cf668a490c7f3ef4f540ce59376629ab750c587b /tools | |
parent | e85733a80ba624a45abda29d941614bdd778529e (diff) |
Better way of getting rid of symlinks
Windows, especially msysgit, doesn't like 'em
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/js2c.py | 8 | ||||
-rw-r--r-- | tools/jsmin.py | 3 | ||||
-rwxr-xr-x | tools/test.py | 3 | ||||
l--------- | tools/utils.py | 1 |
4 files changed, 9 insertions, 6 deletions
diff --git a/tools/js2c.py b/tools/js2c.py index 880ac529d42..8ef644ee190 100755 --- a/tools/js2c.py +++ b/tools/js2c.py @@ -31,7 +31,13 @@ # char arrays. It is used for embedded JavaScript code in the V8 # library. -import os, re, sys, string +import os +from os.path import dirname +import re +import sys +import string + +sys.path.append(dirname(__file__) + "/../deps/v8/tools"); import jsmin diff --git a/tools/jsmin.py b/tools/jsmin.py deleted file mode 100644 index d03f1dcab52..00000000000 --- a/tools/jsmin.py +++ /dev/null @@ -1,3 +0,0 @@ -import sys -sys.path.append("../deps/v8/tools") -import jsmin diff --git a/tools/test.py b/tools/test.py index ba201334fce..f8740e86bbf 100755 --- a/tools/test.py +++ b/tools/test.py @@ -40,9 +40,10 @@ import sys import tempfile import time import threading -import utils from Queue import Queue, Empty +sys.path.append(dirname(__file__) + "/../deps/v8/tools"); +import utils VERBOSE = False diff --git a/tools/utils.py b/tools/utils.py deleted file mode 120000 index 7a7b1b30632..00000000000 --- a/tools/utils.py +++ /dev/null @@ -1 +0,0 @@ -../deps/v8/tools/utils.py
\ No newline at end of file |