summaryrefslogtreecommitdiff
path: root/build/dll-map-makefile-verifier
blob: c75afa50db71e6ef1f07ee895949786502807290 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

if [ -f $2 ]; then
	# Lame, but better than nothing
	grep $(basename $2) $1 | grep module_SCRIPTS &>/dev/null || {
		echo "Assembly has corresponding .config file, but it was not found in module_SCRIPTS in Makefile.am" 2>&1
		exit 1
	}
fi