Skip to content

Commit

Permalink
update-tables: check is Kernel dir proper
Browse files Browse the repository at this point in the history
  • Loading branch information
hrw committed Oct 25, 2023
1 parent d8d82e6 commit a890609
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/update-tables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ if [ -z $KERNELSRC ]; then
exit 1
fi

if [ ! -e ${KERNELSRC}/Makefile ]; then
echo "No Makefile in $KERNELSRC directory!"
exit 1
fi

KVER=$(make -C ${KERNELSRC} kernelversion -s)
TEMP=$(mktemp -d)

Expand Down

0 comments on commit a890609

Please sign in to comment.