File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -190,9 +190,17 @@ makepkg_install_packages() {
190
190
191
191
makepkg_install_benchmark () {
192
192
local pkg=$1
193
+ local distro=$2
194
+
193
195
if grep -w " ^$pkg :" " $LKP_SRC /distro/adaptation-pkg/$distro " ; then
194
- makepkg_install " $pkg " || echo " Install $pkg failed"
196
+ makepkg_install " $pkg " && return
197
+
198
+ echo " Install $pkg failed"
199
+ else
200
+ echo " Cannot find $pkg in $LKP_SRC /distro/adaptation-pkg/$distro "
195
201
fi
202
+
203
+ return 1
196
204
}
197
205
198
206
install_packages () {
416
424
417
425
benchmark_package=$( get_adaptation_pkg $distro " $script " )
418
426
if [ -n " $FORCE_MODE " ] || ! verify_install " $benchmark_package " ; then
419
- makepkg_install_benchmark " $script "
427
+ makepkg_install_benchmark " $script " $distro || exit 1
420
428
fi
421
429
422
430
[ -n " $FORCE_MODE " ] && install_opt=" -f"
You can’t perform that action at this time.
0 commit comments