oci-cli icon indicating copy to clipboard operation
oci-cli copied to clipboard

Update install.sh script to use longer template name

Open ProbstenHias opened this issue 10 months ago • 3 comments

Using the install.sh script fails on alpine distributions as the installed mktemp tool on alpine expects at least 6 X when creating a temp folder with a template.

According to the tool installed on alpine

ecc23e77fdf2:/# mktemp --help
BusyBox v1.36.1 (2023-11-07 18:53:09 UTC) multi-call binary.

Usage: mktemp [-dt] [-p DIR] [TEMPLATE]

Create a temporary file with name based on TEMPLATE and print its name.
TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX).
Without TEMPLATE, -t tmp.XXXXXX is assumed.
...

For that reason the install script fails on alpine with the error

mktemp: Invalid argument

This PR fixes the issue by adding two more x 😀

Fixes #767

ProbstenHias avatar Apr 12 '24 13:04 ProbstenHias