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

🐛 [BUG] - readlink: unrecognized option: m #7

Closed
c33s opened this issue Dec 23, 2022 · 2 comments · Fixed by #8
Closed

🐛 [BUG] - readlink: unrecognized option: m #7

c33s opened this issue Dec 23, 2022 · 2 comments · Fixed by #8
Assignees
Labels
bug 🐛 Something isn't working good first issue 👋 Good for newcomers solved ✔️ The issue has been solved

Comments

@c33s
Copy link

c33s commented Dec 23, 2022

Description

running the script on alpine/busybox fails with the following error:

readlink: unrecognized option: m
BusyBox v1.35.0 (2022-11-19 10:13:10 UTC) multi-call binary.

Usage: readlink [-fnv] FILE

Display the value of a symlink

        -f      Canonicalize by following all symlinks
        -n      Don't add newline
        -v      Verbose

Reproduction steps

on `alpine:3.17.0` run:

bash inline.sh --in-file test.sh

test.sh

#!/bin/ash

echo "hello"
source header.sh

header.sh

# fail on non-zero exit code
set -e -o pipefail -o errexit

OS

Alpine Linux Busybox

hopefully helpful links:

@carlocorradini
Copy link
Owner

@c33s See PR #8
Let me know what you think 🥳

PS: Merry Christmas

@c33s
Copy link
Author

c33s commented Dec 24, 2022

that was a really fast! awesome :)
looks good to me. tested it on my alpine box. . thank you very much.

merry x-mas :)

@carlocorradini carlocorradini added the solved ✔️ The issue has been solved label Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working good first issue 👋 Good for newcomers solved ✔️ The issue has been solved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants