Skip to content

Fix: Incorrect shebang in devpod-wrapper causes script fail#9

Open
JakobTinhofer wants to merge 1 commit intoflathub:masterfrom
JakobTinhofer:patch-1
Open

Fix: Incorrect shebang in devpod-wrapper causes script fail#9
JakobTinhofer wants to merge 1 commit intoflathub:masterfrom
JakobTinhofer:patch-1

Conversation

@JakobTinhofer
Copy link
Copy Markdown

In the current version of the flatpak (v0.6.10) an incorrect shebang in the devpod-wrapper script causes the script to be executed by sh instead of a full bash instance, which breaks it before the actual devpod cli is called:

user@localhost:~$ devpod
/home/user/.local/bin/devpod: 4: Syntax error: "(" unexpected

Once the shebang is instead set to #!/usr/bin/env bash it again works as expected.

will cause multiple syntax errors when running in sh only. The new shebang ensures it is run with full bash support
@flathubbot
Copy link
Copy Markdown

🚧 Test build enqueued.

@flathubbot
Copy link
Copy Markdown

🚧 Started test build.

@flathubbot
Copy link
Copy Markdown

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/215373/sh.loft.devpod.flatpakref

@JakobTinhofer
Copy link
Copy Markdown
Author

@bkneis is there any update on this?

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

Successfully merging this pull request may close these issues.

2 participants