Systemd/src/boot/efi/no-undefined-symbols.sh

8 lines
108 B
Bash
Executable File

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