aboutsummaryrefslogtreecommitdiff
path: root/core/pci-slot.c
diff options
context:
space:
mode:
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>2017-11-20 14:50:59 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-21 21:05:06 -0600
commit646dbfbec2870f81297e6a01da3f47712068364a (patch)
tree81827f4184e63b5a47a2d49f559a85fcd3cd8170 /core/pci-slot.c
parentba540e0be90f1055fd9d40b0a6858f96aff6b180 (diff)
downloadskiboot-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