Skip to content

Commit 3c3d1d3

Browse files
committed
Better way of getting rid of symlinks
Windows, especially msysgit, doesn't like 'em
1 parent e85733a commit 3c3d1d3

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

β€Žtools/js2c.pyβ€Ž

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@
3131
# char arrays. It is used for embedded JavaScript code in the V8
3232
# library.
3333

34-
import os, re, sys, string
34+
import os
35+
from os.path import dirname
36+
import re
37+
import sys
38+
import string
39+
40+
sys.path.append(dirname(__file__) + "/../deps/v8/tools");
3541
import jsmin
3642

3743

β€Žtools/jsmin.pyβ€Ž

Lines changed: 0 additions & 3 deletions
This file was deleted.

β€Žtools/test.pyβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@
4040
import tempfile
4141
import time
4242
import threading
43-
import utils
4443
from Queue import Queue, Empty
4544

45+
sys.path.append(dirname(__file__) + "/../deps/v8/tools");
46+
import utils
4647

4748
VERBOSE = False
4849

β€Žtools/utils.pyβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
Β (0)