]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/boot/efi/no-undefined-symbols.sh
separate flags from shebang
[thirdparty/systemd.git] / src / boot / efi / no-undefined-symbols.sh
CommitLineData
7629744a 1#!/bin/sh
2set -eu
b710072d
ZJS
3
4if nm -D -u "$1" | grep ' U '; then
b884196c
ZJS
5 echo "Undefined symbols detected!"
6 exit 1
b710072d 7fi