11 lines
261 B
Bash
Executable file
11 lines
261 B
Bash
Executable file
#!/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
|
|
|