sbt / sbt-native-packager

sbt Native Packager
https://sbt-native-packager.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
1.59k stars 437 forks source link

generated runit script no_more_snp_opts usage missing $ sign #1553

Open jeanmarc opened 11 months ago

jeanmarc commented 11 months ago

Expected behaviour

sbt docker:publishLocal produces a runit file without issues

Actual behaviour

sbt docker:publishlocal produces a runit file with the following section in it (line 209):

  if [[ no_more_snp_opts ]]; then
    while [[ $# -gt 0 ]]; do
      addResidual "$1" && shift
    done
  fi

Information

Server: Engine: Version: 23.0.6 API version: 1.42 (minimum version 1.12) Go version: go1.20.4 Git commit: 9dbdbd4b6d7681bd18c897a6ba0376073c2a72ff Built: Fri May 12 13:54:36 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.7.0 GitCommit: 1fbd70374134b891f97ce19c70b6e50c7b9f4e0d runc: Version: 1.1.7 GitCommit: 860f061b76bb4fc671f0f9e900f7d80ff93d4eb7 docker-init: Version: 0.19.0 GitCommit:


- What is your target system (e.g. Ubuntu 16.04, CentOS 7) - Linux (FROM eclipse-temurin:17.0.5_8-jdk as stage0)