diff options
author | Vaibhav Jain <vaibhav@linux.vnet.ibm.com> | 2017-11-20 14:50:59 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-11-21 21:05:06 -0600 |
commit | 646dbfbec2870f81297e6a01da3f47712068364a (patch) | |
tree | 81827f4184e63b5a47a2d49f559a85fcd3cd8170 /core/pci-slot.c | |
parent | ba540e0be90f1055fd9d40b0a6858f96aff6b180 (diff) | |
download | skiboot-646dbfbec2870f81297e6a01da3f47712068364a.zip skiboot-646dbfbec2870f81297e6a01da3f47712068364a.tar.gz skiboot-646dbfbec2870f81297e6a01da3f47712068364a.tar.bz2 |
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: 6a3cad272e4c("Add fallback to .version if not git and no SKIBOOT_VERSION")
Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/pci-slot.c')
0 files changed, 0 insertions, 0 deletions