Commits

Doug Hellmann committed 945bd4b

incorporate patch from Sascha Brossmann to fix #15

  • Participants
  • Parent commits 476d152

Comments (0)

Files changed (3)

docsource/history.rst

 Release History
 ===============
 
+1.18.1
+
+  - Incorporate patch from Sascha Brossmann to fix a issue #15. Directory normalization was causing ``WORKON_HOME`` to appear to be a missing directory if there were control characters in the output of ``pwd``.
+
 1.18
 
   - Remove warning during installation if sphinxcontrib.paverutils is not installed. (#10)
 
 # What project are we building?
 PROJECT = 'virtualenvwrapper'
-VERSION = '1.18'
+VERSION = '1.18.1'
 os.environ['VERSION'] = VERSION
 
 # Read the long description to give to setup

virtualenvwrapper_bashrc

 
 # Normalize the directory name in case it includes 
 # relative path components.
-WORKON_HOME=$(cd "$WORKON_HOME"; pwd)
+WORKON_HOME=$(sh -c 'cd "$WORKON_HOME"; pwd')
 export WORKON_HOME
 
 # Verify that the WORKON_HOME directory exists