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

sdm does not work if called from a symlink #35

Closed
arpj-rebola opened this issue Oct 25, 2022 · 3 comments
Closed

sdm does not work if called from a symlink #35

arpj-rebola opened this issue Oct 25, 2022 · 3 comments

Comments

@arpj-rebola
Copy link

arpj-rebola commented Oct 25, 2022

$ sudo ln -s /usr/local/sdm/sdm /usr/bin/sdm
$ sudo sdm
/usr/bin/sdm: line 606: /usr/bin/sdm-cparse: No such file or directory
/usr/bin/sdm: line 607: iswsl: command not found
? No command specified (--aptmaint --burn, --customize, --explore, --mount)

This issue originates in sdm line 605: src=$(dirname $0) can be replaced by e.g. src=$(dirname "$(realpath "$0")").

@gitbls
Copy link
Owner

gitbls commented Oct 25, 2022

Thanks for reporting this. I'll get it into the next update.

@gitbls
Copy link
Owner

gitbls commented Nov 2, 2022

I'm nearly done with the next update and have fixed this, and I have updated EZsdmInstaller to add the link into /usr/local/bin

@gitbls
Copy link
Owner

gitbls commented Nov 4, 2022

This edit is in V7.0. Thanks again for your suggestion!

@gitbls gitbls closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants