From: Michael Tremer Date: Sun, 8 Mar 2009 22:14:35 +0000 (+0100) Subject: Announce system-release to buildspy. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b62ff91c7b045bc8c0da968147a0f3a0ccfb6cd2;p=ipfire-3.x.git Announce system-release to buildspy. --- diff --git a/tools/make-buildspy b/tools/make-buildspy index 0a78507e3..17b4e986c 100755 --- a/tools/make-buildspy +++ b/tools/make-buildspy @@ -46,6 +46,12 @@ build_spy_send_profile() { awk -F: '{ print $2 }' | $BASEDIR/tools/base64) build_spy machine $(uname -m) build_spy toolchain "${NAME}-${TOOLCHAINVERSION}" + for i in system fedora redhat $SNAME debian ubuntu lsb; do + if [ -e "/etc/${i}-release" ]; then + build_spy system $(cat /etc/${i}-release) + break + fi + done } if [ "$(basename $0)" == "make-buildspy" ]; then