1
0
mirror of https://github.com/golang/go synced 2024-11-25 00:07:56 -07:00

make.bash: remove old bash version of gotest on Windows

The file is called gotest.exe now.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4444090
This commit is contained in:
Alex Brainman 2011-05-04 11:16:55 +10:00
parent 4b30d7cead
commit 37dca9d417

View File

@ -47,6 +47,9 @@ rm -f "$GOBIN"/gomake
) >"$GOBIN"/gomake ) >"$GOBIN"/gomake
chmod +x "$GOBIN"/gomake chmod +x "$GOBIN"/gomake
# TODO(brainman): delete this after 01/01/2012.
rm -f "$GOBIN"/gotest # remove old bash version of gotest on Windows
if [ -d /selinux -a -f /selinux/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then if [ -d /selinux -a -f /selinux/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
if ! cat /selinux/booleans/allow_execstack | grep -c '^1 1$' >> /dev/null ; then if ! cat /selinux/booleans/allow_execstack | grep -c '^1 1$' >> /dev/null ; then
echo "WARNING: the default SELinux policy on, at least, Fedora 12 breaks " echo "WARNING: the default SELinux policy on, at least, Fedora 12 breaks "