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
Consider using /bin/sh and changing mktemp call to make it work on FreeBSD, too #157
Comments
A workaround would be embedding bash, mksquashfs and env binaries. |
I am "only" talking about the scripts that become part of the produced AppImage ( |
If the By the way, appimage-builder doesn't use |
Oops. Sorry for the noise. I totally screwed this. Sorry! |
No worries 😄 |
Would it be possible to change
#! /bin/bash
to#! /bin/sh
in all scripts that end up in the AppImages? This would improve compatibility, e.g., with FreeBSD, where/bin/bash
does not exist (even if you install bash from Ports).This line in
apprun-hooks/linuxdeploy-plugin-gtk.sh
breaks on FreeBSD and possibly on other systems:If I change this for testing to
then the application runs.
The culprit is:
As per https://www.freebsd.org/cgi/man.cgi?mktemp,
mktemp -d "/tmp/.AppRun.XXXXXXXX"
works for me on FreeBSD but I have not tested it on Linux.Reference:
geany/geany#1303
The text was updated successfully, but these errors were encountered: