diff options
author | Bert Belder <bertbelder@gmail.com> | 2010-11-26 04:10:39 +0100 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2010-12-20 23:51:21 +0100 |
commit | 3c3d1d31c56ece6cebf56317403b8cc60cd349fe (patch) | |
tree | cf668a490c7f3ef4f540ce59376629ab750c587b | |
parent | e85733a80ba624a45abda29d941614bdd778529e (diff) | |
download | node-new-3c3d1d31c56ece6cebf56317403b8cc60cd349fe.tar.gz |
Better way of getting rid of symlinks
Windows, especially msysgit, doesn't like 'em
-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 880ac529d4..8ef644ee19 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 d03f1dcab5..0000000000 --- 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 ba201334fc..f8740e86bb 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 7a7b1b3063..0000000000 --- a/tools/utils.py +++ /dev/null @@ -1 +0,0 @@ -../deps/v8/tools/utils.py
\ No newline at end of file |