account for the missing "kernel-tfg/extra-configs" dir if it is empty
This commit is contained in:
parent
df096cde95
commit
3a132fa198
@ -2,4 +2,4 @@
|
||||
|
||||
set -xeu
|
||||
|
||||
find ./extra-configs -name "*.sh" -exec "{}" \; || echo "Extra configs not found, not modifying anything"
|
||||
find ./extra-configs -name "*.sh" -exec "{}" \;
|
||||
|
@ -97,9 +97,13 @@ export LLVM=1 AR=llvm-ar CC=clang HOSTAR=llvm-ar HOSTCC=clang HOSTCXX=clang++ HO
|
||||
%{make} defconfig
|
||||
|
||||
tar -xf %{SOURCE2} -C .
|
||||
if [ -d 'kernel-tfg/extra-configs' ]; then
|
||||
cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
|
||||
rm -rf kernel-tfg/
|
||||
./configure-linux.sh
|
||||
else
|
||||
echo "Extra configs not found, not modifying anything"
|
||||
fi
|
||||
|
||||
%build
|
||||
%{make} PYTHON=%{__python3} %{make_targets}
|
||||
|
Loading…
Reference in New Issue
Block a user