##// END OF EJS Templates
run-tests: use os.path.realpath() to find hg's setup.py....
Greg Ward -
r8943:09ff905c default
parent child Browse files
Show More
@@ -266,7 +266,9 b' def installhg(options):'
266 pure = options.pure and "--pure" or ""
266 pure = options.pure and "--pure" or ""
267
267
268 # Run installer in hg root
268 # Run installer in hg root
269 os.chdir(os.path.join(os.path.dirname(sys.argv[0]), '..'))
269 script = os.path.realpath(sys.argv[0])
270 hgroot = os.path.dirname(os.path.dirname(script))
271 os.chdir(hgroot)
270 cmd = ('%s setup.py %s clean --all'
272 cmd = ('%s setup.py %s clean --all'
271 ' install --force --prefix="%s" --install-lib="%s"'
273 ' install --force --prefix="%s" --install-lib="%s"'
272 ' --install-scripts="%s" >%s 2>&1'
274 ' --install-scripts="%s" >%s 2>&1'
General Comments 0
You need to be logged in to leave comments. Login now