etc-gentoo/paludis/hooks/ebuild_setup_pre/some.bash

5 lines
105 B
Bash
Executable File

#!/bin/bash
if [[ $(ld --version) =~ "gold" ]] ; then
echo -e "\033[1;31mld gold is in use!!\033[0m"
fi