]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed system information on buildspy if we have spaces in there.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Mar 2009 09:55:34 +0000 (10:55 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Mar 2009 09:55:34 +0000 (10:55 +0100)
tools/make-buildspy

index 17b4e986c5c495f7f7f21a8304482cff4c28986d..ddb3556afa045eadae9c55e9b2ec7f56a3b6c8ab 100755 (executable)
@@ -48,7 +48,7 @@ build_spy_send_profile() {
        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)
+                       build_spy system "$($BASEDIR/tools/base64 < /etc/${i}-release)"
                        break
                fi
        done