[27781] in Source-Commits
locker-support commit: Add trailing semicolons for toShell
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Fri Mar 7 14:49:20 2014
Date: Fri, 7 Mar 2014 14:49:13 -0500
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201403071949.s27JnD9F007300@drugstore.mit.edu>
To: source-commits@MIT.EDU
https://github.com/mit-athena/locker-support/commit/ed65d47275ceacf84cc762cd3e75a2916063790a
commit ed65d47275ceacf84cc762cd3e75a2916063790a
Author: Benjamin Kaduk <kaduk@mit.edu>
Date: Tue Mar 4 17:57:49 2014 -0500
Add trailing semicolons for toShell
tcsh complains if we try to call setenv three times in the same command
(for PATH, MANPATH, and INFOPATH). Adding semicolons between them
causes them to be separate commands. Since it is generally cleaner to
have the variables set in separate commands, use the semicolon always,
for all shells.
Bump the version to 10.4.2
Signed-off-by: Jonathan Reed <jdreed@mit.edu>
attach | 2 +-
setup.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/attach b/attach
index 1e4b243..b5f32b3 100755
--- a/attach
+++ b/attach
@@ -83,7 +83,7 @@ class Environment(dict):
rv = []
for val in self:
rv.append(template % (val, ':'.join(self[val])))
- return "\n".join(rv)
+ return ";\n".join(rv)
def shorten_path(p):
match = path_shorten_re.match(p)
diff --git a/setup.py b/setup.py
index 6c8a07d..38b0d34 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from distutils.core import setup
setup(name='locker-support',
- version='10.4.1.1',
+ version='10.4.2',
author='Debathena Project',
author_email='debathena@mit.edu',
py_modules=['locker', 'athdir'],