Let rpmbuild continue when no shared source trees exist
This commit is contained in:
parent
78cf92dcac
commit
cec1fd6cfe
|
@ -1070,7 +1070,7 @@ ApplyOptionalPatch()
|
|||
|
||||
# Build a list of the other top-level kernel tree directories.
|
||||
# This will be used to hardlink identical vanilla subdirs.
|
||||
sharedirs=$(find $(pwd) -maxdepth 1 -type d -name kernel-2.6.\* | grep -v kernel-%{kversion}%{?dist})
|
||||
sharedirs=$(find $(pwd) -maxdepth 1 -type d -name kernel-2.6.\* | grep -v kernel-%{kversion}%{?dist}) ||:
|
||||
|
||||
if [ ! -d kernel-%{kversion}%{?dist}/vanilla-%{vanillaversion} ]; then
|
||||
|
||||
|
|
Loading…
Reference in New Issue