[26604] in Source-Commits
Re: /svn/athena r25647 - in trunk/debathena/debathena/dotfiles: .
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Fri Jul 20 17:05:11 2012
Date: Fri, 20 Jul 2012 14:05:07 -0700 (PDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201207202104.q6KL4D1G026512@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1207201405060.24535@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
lgtm
--
Geoffrey Thomas
geofft@mit.edu
On Fri, 20 Jul 2012, Jonathan D Reed wrote:
> Author: jdreed
> Date: 2012-07-20 17:04:13 -0400 (Fri, 20 Jul 2012)
> New Revision: 25647
>
> Modified:
> trunk/debathena/debathena/dotfiles/bashrc
> trunk/debathena/debathena/dotfiles/debian/changelog
> Log:
> In dotfiles:
> * Use a test for LD_ASSUME_KERNEL that doesn't trigger unbound variable
> warnings
>
>
> Modified: trunk/debathena/debathena/dotfiles/bashrc
> ===================================================================
> --- trunk/debathena/debathena/dotfiles/bashrc 2012-07-19 16:00:44 UTC (rev 25646)
> +++ trunk/debathena/debathena/dotfiles/bashrc 2012-07-20 21:04:13 UTC (rev 25647)
> @@ -157,7 +157,7 @@
> echo -e "$text" >&2
> [ -n "$DISPLAY" ] && /usr/bin/zenity --warning --text="$text"
> fi
> - if [ -n "$LD_ASSUME_KERNEL" ]; then
> + if [ -n "${LD_ASSUME_KERNEL+x}" ]; then
> unset LD_ASSUME_KERNEL
> text="In your dotfiles, you set LD_ASSUME_KERNEL. This generally causes undesirable behavior.\nIt has been unset for you.\nIf you really wanted it set, you can add 'skip_sanity_checks=t' to your ~/.bashrc.mine."
> echo -e "$text" >&2
>
> Modified: trunk/debathena/debathena/dotfiles/debian/changelog
> ===================================================================
> --- trunk/debathena/debathena/dotfiles/debian/changelog 2012-07-19 16:00:44 UTC (rev 25646)
> +++ trunk/debathena/debathena/dotfiles/debian/changelog 2012-07-20 21:04:13 UTC (rev 25647)
> @@ -3,8 +3,10 @@
> * Add /usr/lib/init/check-for-reboot to the logout aliases (Trac: #971).
> We add this here and not in xsession, because dotfiles can't/shouldn't
> depend on xsession.
> + * Use a test for LD_ASSUME_KERNEL that doesn't trigger unbound variable
> + warnings
>
> - -- Jonathan Reed <jdreed@mit.edu> Thu, 19 Jul 2012 08:51:06 -0400
> + -- Jonathan Reed <jdreed@mit.edu> Fri, 20 Jul 2012 17:04:08 -0400
>
> debathena-dotfiles (10.0.30-0debathena5) unstable; urgency=low
>
>
>