Index: /trunk/source/add/macathena-add.sh =================================================================== --- /trunk/source/add/macathena-add.sh (revision 55) +++ /trunk/source/add/macathena-add.sh (revision 55) @@ -0,0 +1,2 @@ +add_flags= +add () { eval "$( @FINKPREFIX@/bin/attach-add.py -b $add_flags "$@" )" ; } Index: /trunk/source/add/attach-add.py =================================================================== --- /trunk/source/add/attach-add.py (revision 53) +++ /trunk/source/add/attach-add.py (revision 55) @@ -49,5 +49,5 @@ locker = '/mit/%s' % arg - bin_pipe = os.popen('/usr/local/bin/athdir %s bin' % locker) + bin_pipe = os.popen('@FINKPREFIX@/bin/athdir %s bin' % locker) new_bin = bin_pipe.read().strip() if bin_pipe.close() != None: @@ -60,5 +60,5 @@ elif not remove_locker: path.append(new_bin) - man_pipe = os.popen('/usr/local/bin/athdir %s man' % locker) + man_pipe = os.popen('@FINKPREFIX@/bin/athdir %s man' % locker) new_man = man_pipe.read().strip() if man_pipe.close() == None: @@ -68,5 +68,5 @@ elif not remove_locker: manpath.append(new_man) - info_pipe = os.popen('/usr/local/bin/athdir %s info' % locker) + info_pipe = os.popen('@FINKPREFIX@/bin/athdir %s info' % locker) new_info = info_pipe.read().strip() if info_pipe.close() == None: Index: /trunk/source/add/macathena-add.csh =================================================================== --- /trunk/source/add/macathena-add.csh (revision 55) +++ /trunk/source/add/macathena-add.csh (revision 55) @@ -0,0 +1,2 @@ +set add_flags +alias add 'eval `@FINKPREFIX@/bin/attach-add.py $add_flags \!:*`' Index: /trunk/source/add/setup.py =================================================================== --- /trunk/source/add/setup.py (revision 55) +++ /trunk/source/add/setup.py (revision 55) @@ -0,0 +1,7 @@ +from distutils.core import setup +setup(name='macathena-add', + version='1.0', + author='SIPB MacAthena Project', + author_email='sipb-macathena@mit.edu', + scripts=['attach-add.py'], + data_files=[('@FINKPREFIX@/etc/profile.d', ('macathena-attach.sh',))])