##// END OF EJS Templates
Fixing subtle bug in expanduser(expandvars(path)) on Windows....
Fixing subtle bug in expanduser(expandvars(path)) on Windows. On Windows, some paths can have the string $\ in them: \\server\users$\%username%. The "$" means it is a hidden share. Unfortunately, os.path.expandvars turns that into: \\server\users\%username% (it deletes the '$'). I have implemented a simple function (expand_path) that calls os.expanduser and os.expandvars in a way that preserves th '$' on Windows in this case.

File last commit:

r2118:ec9810f7
r2324:811a55ae
Show More
testupload
6 lines | 165 B | text/plain | TextLexer
#!/bin/sh
# Simple upload script to push up into the testing directory a local build
ipdir=$PWD/..
cd $ipdir/dist
scp * ipython@ipython.scipy.org:www/dist/testing/