Commits

Anonymous committed 9263728

[svn r3584] Fixed a bashism in bin/activate

  • Participants
  • Parent commits b8b866d

Comments (0)

Files changed (3)

File docs/index.txt

 * Some platform-specific modules in Macs are added to the path now
   (``plat-darwin/``, ``plat-mac/``, ``plat-mac/lib-scriptpackages``),
   from Andrea Rech.
+* Fixed a small Bashism in the ``bin/activate`` shell script.
 
 1.2
 ~~~

File support-files/activate.sh

 # unset irrelavent variables
 deactivate nondestructive
 
-export VIRTUAL_ENV="__VIRTUAL_ENV__"
+VIRTUAL_ENV="__VIRTUAL_ENV__"
+export VIRTUAL_ENV
 
 _OLD_VIRTUAL_PATH="$PATH"
 PATH="$VIRTUAL_ENV/__BIN_NAME__:$PATH"

File virtualenv.py

 
 ##file activate.sh
 ACTIVATE_SH = """
-eJytU01P20AQve+vGBwOgJpYXKk4BDUSkWiocEqlErTZ2ON4JWc32l3HDaj/vbO2E5yPIlXFB9u7
-8/XmzZsOjDNpIZU5wqKwDmYIhcUESukyCKwuTIwwkyoUsZMr4TCAi9ToBcyEzS5YB9a6gFgopR2Y
-QoF0kEiDscvXjCW4iYKzc3hlQI9M4Qm6CoJTfn/3hT8OH8bf+3f8W398G8AzfAaXoao8/eOvr4+5
-bj3w11IbVzlu7wpl0cFBUGVPJau+nbpzm+kiTyBBR5irpkCoBF5s9gnKTMYZZGKFIOhDplgvFt7s
-MuEqvppUxFos8px4cxrmVJtooL9UG39YCiK2CbU9gB/ErS5cY3ZSzZs0O46eCDj1uCHOhJqjhZKG
-JBL/WoMnnMoatEtCjskeuTf9iPjs6vr0M7rlj4OHaHg/OkJy1VrX7NDztzFFl8emFF0eDIkcD2YU
-Xb47osa8gVC7bKyD0eMbsBPCRUCuIVBaJWidKbzQcA9bByLMU9g4nOxVf5Pnpu5vRoqujdIYzGn0
-ysFKGClmOdq2oHcLM9b02IJ7HXDeOnIeMHagSeKt1nNzaAWEnN8MR3zU/zrg/Kpxa8ud7dPnk3ne
-K46CKakZlVggTHbyToJpRR0B2qfLa0mK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