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
fpp fails when called from a symlink in Linux #33
Comments
you'll have to be a little bit careful - osx ships with posix readlink, and this script is written for osx. iirc, the posix readlink doesnt have the -f flag on linux you'll be using gnu readlink, which is different and has the -f flag. that's not the issue, thogh it looks like readlink is giving you an absolute path when the script was written for a readlink that gives a relative path. this is probably because you symlinked fpp using an absolute path, which, imo, should be valid. it wbn if the WHEREAMI resolution would respect symlinks created with absolute paths. |
Yup, it worked, thanks =D |
I uploaded the package to AUR, it can be installed using |
@lsmag what does |
lets track this in #43 |
@pcottle the package I built will download fpp from git, unpack on /opt and create a symlink on /usr/bin. |
I'm creating an Arch package for PathPicker right now but I can't make a symlink to
fpp
work. This is the error I get:As you can see, the problem is
/home/lsmag//home/lsmag/PathPicker
=/home/lsmag/
+/home/lsmag/PathPicker
, which is the predictable output of bothdirname
andreadlink
.Using
readlink -f
, however, the command runs just fine. This is how it is on my machine now:I don't know if it still works on Macs, though.
The text was updated successfully, but these errors were encountered: