Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
Quote $PATH export to account for spaces.
Browse files Browse the repository at this point in the history
Many people have spaces in their Windows user names, leading to trouble with an unquoted $PATH export.  This quotes the $PATH addition accordingly.
  • Loading branch information
davis68 committed Jan 27, 2014
1 parent 0d8f4dd commit f55d31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/swc-windows-installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def update_bash_profile(extra_paths=()):
lines = [
'',
'# Add paths for Software-Carpentry-installed scripts and executables',
'export PATH=$PATH:{}'.format(':'.join(
'export PATH=\"$PATH:{}\"'.format(':'.join(
make_posix_path(path) for path in extra_paths),),
'',
'# Make nano the default editor',
Expand Down

0 comments on commit f55d31f

Please sign in to comment.