remove all space from checksums
This commit is contained in:
parent
64843eb717
commit
1022e5b991
@ -543,6 +543,8 @@ module Vagrant
|
||||
@logger.info("Expected checksum: #{checksum}")
|
||||
|
||||
actual = FileChecksum.new(path, checksum_type).checksum
|
||||
actual.gsub!(/\s+/, '')
|
||||
checksum.gsub!(/\s+/, '')
|
||||
@logger.info("Actual checksum: #{actual}")
|
||||
if actual.casecmp(checksum) != 0
|
||||
raise Errors::BoxChecksumMismatch,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user