File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,8 +162,8 @@ def pip_cmd(subcommand, version='')
162162def which_pip ( nr )
163163 if ( nr . respond_to? ( "virtualenv" ) && nr . virtualenv )
164164 ::File . join ( nr . virtualenv , '/bin/pip' )
165- elsif " #{ node [ 'python' ] [ 'install_method' ] } " . eql? ( "source" )
166- ::File . join ( " #{ node [ 'python' ] [ 'prefix_dir' ] } " , "/bin/pip" )
165+ elsif node [ 'python' ] [ 'install_method' ] . eql? ( "source" )
166+ ::File . join ( node [ 'python' ] [ 'prefix_dir' ] , "/bin/pip" )
167167 else
168168 'pip'
169169 end
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ def load_current_resource
6060end
6161
6262def virtualenv_cmd ( )
63- if " #{ node [ 'python' ] [ 'install_method' ] } " . eql? ( "source" )
64- ::File . join ( " #{ node [ 'python' ] [ 'prefix_dir' ] } " , "/bin/virtualenv" )
63+ if node [ 'python' ] [ 'install_method' ] . eql? ( "source" )
64+ ::File . join ( node [ 'python' ] [ 'prefix_dir' ] , "/bin/virtualenv" )
6565 else
6666 "virtualenv"
6767 end
You can’t perform that action at this time.
0 commit comments