File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -109,15 +109,17 @@ def prepare_extra_sw
109109
110110 def validate_paths
111111 normalize_paths
112- unless File . exist? ( "#{ @iso_path } /#{ @studio_iso_info [ 'path' ] } " )
113- @logger . fatal ( 'Studio ISO path is not valid' )
114- raise ( InvalidPathError , 'Studio ISO path is not valid' )
112+ studio_iso_full_path = Pathname . new ( @iso_path ) . join ( @studio_iso_info [ 'path' ] )
113+ unless File . exist? ( studio_iso_full_path )
114+ @logger . fatal ( "Studio ISO path #{ studio_iso_full_path } is not valid" )
115+ raise ( InvalidPathError , "Studio ISO path #{ studio_iso_full_path } is not valid" )
115116 end
116117
117- return if File . exist? ( "#{ @iso_path } /#{ @client_iso_info [ 'path' ] } " )
118+ client_iso_full_path = Pathname . new ( @iso_path ) . join ( @client_iso_info [ 'path' ] )
119+ return if File . exist? ( client_iso_full_path )
118120
119- @logger . fatal ( ' Client ISO path is not valid' )
120- raise ( InvalidPathError , ' Client ISO path is not valid' )
121+ @logger . fatal ( " Client ISO path #{ client_iso_full_path } is not valid" )
122+ raise ( InvalidPathError , " Client ISO path #{ client_iso_full_path } is not valid" )
121123 end
122124
123125 def normalize_paths
You can’t perform that action at this time.
0 commit comments