What version of bash are you using? Find More Posts by gnashley 12-19-2010, 01:11 PM #5 T3slider Senior Member Registered: Jul 2007 Distribution: Slackware64-14.1 Posts: 2,364 Rep: Does that line that gnashley noted actually work? When was this language released? the 0a is the correct linux line ending, if its a dos line ending it will be 0d 0a 1 members found this post helpful. navigate here
Will the medium be able to last 100 years? Lukáš Kocourek @kocour commented 2016-04-16 09:43:56 UTC so there is no way to automatically process .bashrc and I need to put all stuff into .profile or i can do something like Foo 2. Then just do binary search, that is, comment in the first half of the file.
Searching an answer for another problem this posts solves my problem: https://community.webfaction.com/questions/5849/cgi-troubles permanent link answered 18 Oct '15, 11:00 Raquel López... 11●1 accept rate: 0% Your answer toggle preview community wiki: This site is not affiliated with Linus Torvalds or The Open Group in any way. trying on Ubuntu 14.04.4 and runner installed from official GL repository Kamil Trzciński @ayufan commented 2016-04-15 19:46:22 UTC Master The 1.1.3 fixes the problem with /bin/false. As for .bashrc, .bashrc is only I'm torn apart between worlds.
LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware [SOLVED] source bashrc -> syntax error: unexpected end of file User Name Remember Me? Quote: f [ -f /etc/bashrc ]; then source /etc/bashrc fi Quote: if [ -f /home/xri/personal/somedata.kdb.lock ]; then rm /home/xri/personal/somedata.kdb.lock fi When I comment out both, then I get no error messages. We use .bash_profile to set some environment variables, so this broke our builds. Was this change intentional? Find More Posts by Keith Hedger 12-22-2010, 08:29 AM #11 xri Member Registered: Aug 2002 Distribution: Slackware 14.1, Archlinux Posts: 279 Blog Entries: 11 Original Poster Rep: Sorry for
Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Syntax Error Unexpected End Of File Bash What does Sauron need with mithril? Train ride from Copenhagen to Malmo How to deal with a really persuasive character? bash shell share|improve this question asked Sep 8 '14 at 17:38 SimMac 38114 add a comment| 1 Answer 1 active oldest votes up vote 11 down vote accepted You can see
but now I am not getting the prompt when starting the terminal. Realism of a setting with several sapient anthropomorphic animal species Should indoor ripened tomatoes be used for sauce? Integral using residue theorem complex analysis Does mean=mode imply a symmetric distribution? Convince people not to share their password with trusted others On THE other hand or on another hand?
Why did companions have such high social standing? Can a creature benefit from differently typed speed bonuses all named fast movement? .bashrc Line Syntax Error Unexpected End Of File That prompt gives you a smiley face if your last command worked or a frowny face if it failed. Unexpected Eof While Looking For Matching `"' Limit involving exponentials and arctangent without L'Hôpital How does Gandalf get informed of Bilbo's 111st birthday party?
The users who voted to close gave this specific reason:"Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was check over here To the shell, this looks like three assignments that apply to the command fi. basic HTML tags are also supported learn more about Markdown Question tags: ssh ×95 .bashrc ×1 .bash_profile ×1 question asked: 18 Oct '15, 09:35 question was seen: 784 times last updated: I had the login shell set to /bin/false because I did not want anybody to log in on behalf of the gitlab runner user. Bashrc Example
Were slings used for throwing hand grenades? At first glance the file looks okay, so I'd suggest you comment out every single line (with #) and see if the error still manifests. I get this error message : "sub_change_dirrect: line 14: syntax error: unexpected end of file" bash scripts share|improve this question edited Jun 3 '12 at 12:54 adempewolff 5,60011943 asked Jun 3 his comment is here My girlfriend has mentioned disowning her 14 y/o transgender daughter Yes, of course I'm an adult!
I haven't reviewed your logic. Furthermore, instead of an else block that consists entirely of an if statement, you should use elif. Lukáš Kocourek @kocour commented 2016-04-15 13:52:36 UTC just tried to downgrade to 1.0.4 and it's not working even with this version for me... .profile and .bash_profile is processed but .bashrc is
Fred Cox @mcfedr commented 2016-04-05 13:31:41 UTC I use .profile which works Davide Taviani @helios commented 2016-04-06 13:18:44 UTC @ayufan I get gitlab-ci-multi-runner 1.2.0~beta.19.g348b700 (348b700) Using Shell executor... /bin/bash: line 7: unexpected EOF while Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Thanks # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi if [ -f ~/.git-completion.bash ]; then source ~/.git-completion.bash fi PS1='\[\e[0;36m\]\W\[\e[m\]\[\e[1;31m\]\$\[\e[m\]' if [ "$PS1" ]; then
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Is the standard Canon 18-55 lens the same as 5 years ago? no outgoing connection via ipv4 How to make different social classes look quite different? weblink Click Here to receive this Complete Guide absolutely free.
A name for a well-informed person who is not believed? Check /etc/bashrc –geirha Aug 13 '12 at 7:42 1 ...