sbt-native-packager icon indicating copy to clipboard operation
sbt-native-packager copied to clipboard

generated runit script no_more_snp_opts usage missing $ sign

Open jeanmarc opened this issue 2 years ago • 0 comments

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

  • What sbt-native-packager are you using - 1.9.16
  • What sbt version - 1.8.3
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian ) - MacOS
  • What package are you building (e.g. docker, rpm, ...) - docker
  • What version has your build tool (find out with e.g. rpm --version)
[530]$ docker version
Client:
 Version:           24.0.2-rd
 API version:       1.42 (downgraded from 1.43)
 Go version:        go1.20.4
 Git commit:        e63f5fa
 Built:             Fri May 26 16:39:47 2023
 OS/Arch:           darwin/amd64
 Context:           default

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)

jeanmarc avatar Aug 25 '23 08:08 jeanmarc