gdb-buildbot/xfails/update-xfail-builders.sh
2015-01-23 19:08:18 -05:00

21 lines
491 B
Bash
Executable file

#!/bin/bash
if test $# -ne 1 ; then
echo "You must provide the directory of the builders' git repos"
echo "Usually, this is the public_html/results directory inside the"
echo "BuildBot directory"
exit 1
fi
# The equivalent of the gdb_web_base (in the configuration files)
GDB_WEB_BASE=$1
for d in `ls` ; do
if ! test -d $GDB_WEB_BASE/$d ; then
continue
fi
if ! test -h $GDB_WEB_BASE/$d/xfails ; then
ln -s $PWD/$d/xfails $GDB_WEB_BASE/$d/xfails
fi
done