search for: string_contain

Displaying 2 results from an estimated 2 matches for "string_contain".

Did you mean: string_contains
2014 Aug 21
3
Re: [PATCH] v2v: adding input -i ova
...ched_group 2 line in > + > + let cmd = sprintf "sha1sum %s" (dir // file) in Quoting needed, so: let cmd = sprintf "sha1sum %s" (quote (dir // file)) in > + let out = external_command ~prog cmd in > + if List.exists (fun line -> string_contains line sha1) out == false then You wouldn't normally write `== false'. This is more natural and shorter: if not (List.exists (fun line -> string_contains line sha1) out) then > + error (f_"Checksum of %s does not match manifes sha1 %s") (file) (sha1) Do...
2014 Aug 21
2
[PATCH] v2v: adding input -i ova
Shahar: This is the same patch as you posted, but I have rebased it on top of current HEAD. You'll have to do save the next email to a file, and do: git reset --hard HEAD^ git pull git am /path/to/saved_email There are no changes in this patch, except what is needed to make it compile. Will follow-up with comments. Rich.