Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make_version: Fix check for '.version' file
When building from the non-git tree and with '.version' file missing, make_version shows this bash error message. % make ... cat: .version: No such file or directory ... error You need to set SKIBOOT_VERSION environment variable This patch fixes this issue by updating '.version' file check in make_version script to test if it exists as a regular file and is of non-zero size. Fixes: 6a3cad2("Add fallback to .version if not git and no SKIBOOT_VERSION") Signed-off-by: Vaibhav Jain <[email protected]> Signed-off-by: Stewart Smith <[email protected]>
- Loading branch information