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

AshScriptPlugin generates script without function #1523

Open
sanyer opened this issue Oct 13, 2022 · 2 comments
Open

AshScriptPlugin generates script without function #1523

sanyer opened this issue Oct 13, 2022 · 2 comments

Comments

@sanyer
Copy link

sanyer commented Oct 13, 2022

Expected behaviour

/opt/docker/bin/<script> works

Actual behaviour

/opt/docker/bin/<script>: line 71: require_arg: not found

Information

  • What sbt-native-packager are you using
    1.3.20
  • What sbt version
    1.5.5
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian )
    debian
  • What package are you building (e.g. docker, rpm, ...)
    docker
  • What is your target system (e.g. Ubuntu 16.04, CentOS 7)
    alpine
@muuki88
Copy link
Contributor

muuki88 commented Feb 9, 2023

Does this also happen in the latest version? There has been quite some changes to the ash script @sanyer

@sanyer
Copy link
Author

sanyer commented Feb 9, 2023

I can give it a try @muuki88
But looking at src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/ash-template I can see that function require_arg is not defined still. 🤷🏻

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