[26603] in Source-Commits
/svn/athena r25647 - in trunk/debathena/debathena/dotfiles: . debian
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Fri Jul 20 17:04:16 2012
Date: Fri, 20 Jul 2012 17:04:13 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201207202104.q6KL4D1G026512@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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