-
Notifications
You must be signed in to change notification settings - Fork 444
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
Auto generated scripts drop last character if its an r
#1121
Comments
That's supposed to strip carriage return but Would you mind opening a PR with the same fix from sbt/sbt-launcher-package#187? |
Will do, looks good:
Should l leave the |
I suppose it wouldn't hurt to update the ash script too... I don't have any experience with it personally |
…hing about ash
PR #1122 |
I hit the same error while using @muuki88 any chance there will be a new release of sbt-native-packager with this fix? |
Thanks for the reminder 😍 Haven't released in a while. A new version will be up today. |
done :) |
thank you @muuki88 , will give the new version a try! |
Expected behaviour
sbt universal:packageBin
generates the following script fragment:But when run on Mac against the following:
Actual behaviour
It drops the
r
fromserver
, so the JVM fails to start with:You can verify independently of script generation from a terminal by cat'ing the
application.ini
or similar intosed
. As can be seen here:Windows seems fine.
Dropping the
\r
from thesed
command seems to help. Tested with the following...before I ran out of r words
The text was updated successfully, but these errors were encountered: