Systemd/src/boot/efi/no-undefined-symbols.sh
2017-04-25 08:49:16 -04:00

7 lines
112 B
Bash
Executable file

#!/bin/sh -eu
if nm -D -u "$1" | grep ' U '; then
echo "Undefined symbols detected!"
exit 1
fi