Hi Ansgar, Thanks for your contribution. I just applied the changes to my branch-5.1 working copy and built its rpm/srpm. Actually I need to apply this change to trunk but we moved all the binary files of packages to the remote repository.
Geoffroy, can you tell how and where I should put the new opium/distro/common-rpms/ssh-oscar-1.1-8.noarch.rpm file? Regards, - DongInn Ansgar Esztermann wrote: > Hello everyone, > > the ssh-oscar initialization file for Bourne-type shells seems to > force $HOME as the current directory. As far as I can see, this is not > really necessary (and it is not the case for (t)csh). However, it > prevents commands like this: > > $ ssh -t headnode 'cd somedir && /bin/bash' > > I've changed our config files like this: > > --- /etc/profile.d/ssh-oscar.sh 2005-12-13 06:05:57.000000000 +0100 > +++ /tmp/ssh-oscar.sh 2008-10-15 14:06:21.000000000 +0200 > @@ -9,8 +9,8 @@ > else > # echo the home directory for user $user is $home > # echo cd $home > - if ! cd $home ; then > - echo cannot cd to home directory $home > + if ! [ -d $home ] ; then > + echo cannot find home directory $home > else > > file=$home/.ssh/id_dsa > > Maybe this is an idea for future versions? BTW, this is for ssh- > oscar-1.1-6. > > > A. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
