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

Embedded scripts run from Windows fail on Unix #99

Closed
gschueler opened this issue Jun 23, 2012 · 2 comments
Closed

Embedded scripts run from Windows fail on Unix #99

gschueler opened this issue Jun 23, 2012 · 2 comments

Comments

@gschueler
Copy link
Member

Given:
that you have Rundeck running on Windows
When:
you create a job with an "inline script" step
and the script is like:
#!/bin/bash

  echo hello

Then:
The script will fail because the script that is copied over has \r\n linefeeds
The error will be something like:
bash: /tmp/1312570144936-carver-dispatch-script.sh: /bin/bash^M: bad interpreter: No such file or directory

original LH ticket

Original Creator: Dave Tauzell

@ahonor
Copy link
Contributor

ahonor commented Sep 26, 2014

Also see #348

@gschueler
Copy link
Member Author

close as dupe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants