]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
makesyscalls.sh: remove trailing space on the "created from" line
authorEd Maste <emaste@FreeBSD.org>
Mon, 17 Oct 2016 13:52:24 +0000 (13:52 +0000)
committerEd Maste <emaste@FreeBSD.org>
Mon, 17 Oct 2016 13:52:24 +0000 (13:52 +0000)
commit9e621953611e11cbb2282f7b28b3796621693328
treea449c460a20cd35aea1e537cffe80324208ab0c8
parentde13c2427d6c36e498f075cc9f895d4484d2a702
makesyscalls.sh: remove trailing space on the "created from" line

In r10905 and r10906 makesyscalls was modified to avoid emitting a
literal $Id$ string in the generated file, with:

    gsub("[$]Id: ", "", $0)
    gsub(" [$]", "", $0)

Then r11294 added some functionality and also tried to address the $Id$
problem in a different way, by removing every $:

    sed -e 's/\$//g ...

This rendered the gsub infeffective. The gsub was later updated to
track the $Id$ -> $FreeBSD$ switch, even though it did not do anything.

Revert the addition of the s/\$//g, and update the gsub to keep the
resulting format the same.

Discussed with: bde
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
sys/kern/makesyscalls.sh