4 if [ "x$tarball" == "x" ]
6 echo "usage: $0 tarball" 1>&2
10 path=${tarball%%.tar.gz}
13 | grep -E '\.(h|py|v)$' \
14 | sed -e "s/$path/./" \
15 | sort >/tmp/tarball-h-files
17 find . \( -name '*.h' -o -name '*.py' \) -print | grep -v ./$path | sort >/tmp/build-h-files
19 comm -23 /tmp/build-h-files /tmp/tarball-h-files
21 # rm /tmp/tarball-h-files /tmp/build-h-files