Let rpmbuild continue when no shared source trees exist
This commit is contained in:
parent
78cf92dcac
commit
cec1fd6cfe
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue