android_bionic/tools/update_syscalls.sh

8 lines
162 B
Bash
Raw Normal View History

#!/bin/sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/..
./libc/tools/gensyscalls.py
git diff --exit-code HEAD libc/arch-*/syscalls/
exit $?