Closed stephenwb closed 6 years ago
Hey Frank, this is a super-simple change to two lines, same change on both lines, I know your home life is in OMG-must-get-sleep mode right now but take a look it should be a no-brainer merge
Thanks for the patch. Merged.
If the path to the original ISO file contains a '.' (dot)(e.g. "/home/buchanan/isobuild.d/CentOS-7-x86_64-DVD-1804.iso"), the 'awk -F .' parsing of the MAJOR and MINOR release numbers inserts components of the path instead of just the intended numbers. This causes the output path of the genisoimage command to contain an invalid path. Added a subshell 'cd' to the directory before the 'ls' to prevent the error.