From 3c3d1d31c56ece6cebf56317403b8cc60cd349fe Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Fri, 26 Nov 2010 04:10:39 +0100 Subject: [PATCH] Better way of getting rid of symlinks Windows, especially msysgit, doesn't like 'em --- tools/js2c.py | 8 +++++++- tools/jsmin.py | 3 --- tools/test.py | 3 ++- tools/utils.py | 1 - 4 files changed, 9 insertions(+), 6 deletions(-) delete mode 100644 tools/jsmin.py delete mode 120000 tools/utils.py 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