blob: aa41c12b4bf322323d03b7788ec8126388850691 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
X=`/usr/bin/emerge -p $1 | /bin/grep '^\[' | /bin/wc | /bin/awk '{print $1}'`
/usr/bin/test $X -eq 1 && emerge $1 && exit 0
echo $'\e[31;01m'"This would emerge more than one ebuild!"
exit 1
|