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