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

Commit

Permalink
swc-windows-installer.py: 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 file now quotes the $PATH
addition accordingly.
  • Loading branch information
davis68 authored and wking committed Jan 27, 2014
1 parent 70c97fc commit ed160e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 ed160e5

Please sign in to comment.