Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix newinstall.sh csh support #45

Merged
merged 4 commits into from Jun 16, 2017
Merged

Conversation

jhoblitt
Copy link
Member

No description provided.

The "sourced" test logic did not work under this test case:

        csh -c 'source loadLSST.csh'
@jhoblitt jhoblitt requested a review from timj June 15, 2017 01:43
@jhoblitt jhoblitt force-pushed the tickets/DM-10587-csh branch 2 times, most recently from f68801b to 4b2ea59 Compare June 15, 2017 02:01
@timj
Copy link
Member

timj commented Jun 15, 2017

The csh test doesn't seem to be working write on Travis. It seems to run fine but doesn't exit the shell so Travis can't work out that it's passing.

Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok. Test needs to be fixed.

@jhoblitt
Copy link
Member Author

The travis test worked for me when cut'n'paste locally, so I'm not sure what's up with it. Maybe csh version? I will chew on it before merging.

@jhoblitt
Copy link
Member Author

It looks like the problem is with behavior of the version of csh used by ubuntu/trusty:

root@bededb0275ee:/# csh --version
# 

@jhoblitt
Copy link
Member Author

The basic problem here is that csh doesn't support tcsh concept of $0. So basically, without doing a bunch of ugly hacks to shell out and look at the process table, we don't support pure csh. This PR does fix tcsh, so I'm going to go ahead and merge it.

@jhoblitt jhoblitt merged commit cc644da into lsst:master Jun 16, 2017
@jhoblitt jhoblitt deleted the tickets/DM-10587-csh branch June 16, 2017 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants