Commit f1f4386f f1f4386f1dbdee2b6adfa6fea9426607471e0b4d by Nicolas Perriault

reverting 33bd0b17 as the fix for #49, #50 breaks everything else

1 parent 33bd0b17
...@@ -13,8 +13,8 @@ def resolve(path): ...@@ -13,8 +13,8 @@ def resolve(path):
13 PHANTOMJS_EXEC = os.environ.get('PHANTOMJS_EXECUTABLE', 'phantomjs').split(' ') 13 PHANTOMJS_EXEC = os.environ.get('PHANTOMJS_EXECUTABLE', 'phantomjs').split(' ')
14 CASPER_PATH = os.path.abspath(os.path.join(os.path.dirname(resolve(__file__)), '..')) 14 CASPER_PATH = os.path.abspath(os.path.join(os.path.dirname(resolve(__file__)), '..'))
15 CASPER_ARGS = PHANTOMJS_EXEC 15 CASPER_ARGS = PHANTOMJS_EXEC
16 CASPER_ARGS.extend(sys.argv[1:])
17 CASPER_ARGS.extend([os.path.join(CASPER_PATH, 'bin', 'bootstrap.js'), '--casper-path=%s' % CASPER_PATH, '--cli']) 16 CASPER_ARGS.extend([os.path.join(CASPER_PATH, 'bin', 'bootstrap.js'), '--casper-path=%s' % CASPER_PATH, '--cli'])
17 CASPER_ARGS.extend(sys.argv[1:])
18 18
19 try: 19 try:
20 status = subprocess.call(CASPER_ARGS) 20 status = subprocess.call(CASPER_ARGS)
......