Permalink
Browse files

Trim bad trailing string from PATH manip

Fixes #870
  • Loading branch information...
1 parent e1757f6 commit a0235945222ab830d80fb6858b56113db17595fe @bitprophet bitprophet committed Mar 22, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 fabric/operations.py
View
6 fabric/operations.py
@@ -663,11 +663,11 @@ def _prefix_env_vars(command, local=False):
path = env.path
if path:
if env.path_behavior == 'append':
- path = '$PATH:\"%s\" ' % path
+ path = '$PATH:\"%s\"' % path
elif env.path_behavior == 'prepend':
- path = '\"%s\":$PATH ' % path
+ path = '\"%s\":$PATH' % path
elif env.path_behavior == 'replace':
- path = '\"%s\" ' % path
+ path = '\"%s\"' % path
env_vars['PATH'] = path

0 comments on commit a023594

Please sign in to comment.