From owner-svn-src-head@FreeBSD.ORG Fri Nov 16 06:15:34 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 394DDB21; Fri, 16 Nov 2012 06:15:34 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id C94DB8FC08; Fri, 16 Nov 2012 06:15:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1TZFD8-0003rf-TR; Fri, 16 Nov 2012 09:15:31 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:In-Reply-To:Subject:Cc:To:From; bh=9DgsnFsEvj9AIzXvNZcytScU450OQqJiS5xsexw4Mts=; b=C96cBXdhqowSmsYXSO/JzqcU53LE14WyXw8Mkfv8PT04uqA6QTc2xYbd8dMX89xRzuD7/4WUDuVNlWg3vOiyVwBt0kGyWt5nqciko83DB5yOysA0XiGeBW+/LRqEn+TS7nFMO09UvXnithNkDi9wWmXPaurvARrwlvLEwvYh/xk=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1TZFBU-0005S6-1s; Fri, 16 Nov 2012 06:13:55 +0000 From: Jan Beich To: Eitan Adler Subject: Re: svn commit: r243130 - head/etc/root In-Reply-To: <201211160425.qAG4PZ8I016575__14550.9199741811$1353039960$gmane$org@svn.freebsd.org> (Eitan Adler's message of "Fri, 16 Nov 2012 04:25:35 +0000 (UTC)") Date: Fri, 16 Nov 2012 02:04:59 -0400 References: <201211160425.qAG4PZ8I016575__14550.9199741811$1353039960$gmane$org@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1TZFBU-0005S6-1s@internal.tormail.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 06:15:34 -0000 Eitan Adler writes: > Author: eadler > Date: Fri Nov 16 04:25:35 2012 > New Revision: 243130 > URL: http://svnweb.freebsd.org/changeset/base/243130 > > Log: > dot.login is supposed to be for bourne shell, not csh Can you explain better or point to the reference? sh(1) mentions ~/.profile while csh(1) mentions ~/.login for commands executed once per login. Besides, dot.login is not installed WITHOUT_TCSH. # /usr/src/etc/Makefile .if ${MK_TCSH} != "no" cd ${.CURDIR}/root; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ dot.cshrc ${DESTDIR}/root/.cshrc; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ dot.login ${DESTDIR}/root/.login; \ rm -f ${DESTDIR}/.cshrc; \ ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc .endif > > Pointyhat to: me > Approved by: cperciva (implicit) > > Modified: > head/etc/root/dot.login > > Modified: head/etc/root/dot.login > ============================================================================== > --- head/etc/root/dot.login Fri Nov 16 03:33:34 2012 (r243129) > +++ head/etc/root/dot.login Fri Nov 16 04:25:35 2012 (r243130) > @@ -6,4 +6,4 @@ > # > > # Uncomment to display a random cookie each login: > -# if ( -x /usr/games/fortune ) /usr/games/fortune -s > +# [ -x /usr/games/fortune ] && /usr/games/fortune -s