Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SPECS/aws-nitro-enclaves-cli.spec: Do not mangle shebangs for examples
The package builder used for Amazon Linux 2023 mangles shebangs in the packaged scripts, but the new paths may not exist for scripts whose target environment is not Amazon Linux based. For example, in the case of `hello.sh` which is meant to be run in a Docker container, the shebang is rewritten from `#!/bin/sh` to `#!/usr/bin/sh`, but the latter path does not exist. This has the effect of preventing the "Hello Enclave" enclave from being instantiated. Therefore we disable shebang mangling for the scripts from the examples. Signed-off-by: Costin Lupu <[email protected]>
- Loading branch information