[PR #72] [MERGED] Fix some errors caused by using bash syntax with sh shebang #3001

Closed
opened 2026-02-28 20:34:50 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/72
Author: @TomAFrench
Created: 5/29/2022
Status: Merged
Merged: 6/29/2022
Merged by: @jlongster

Base: masterHead: package-browser-bash


📝 Commits (2)

  • 5aac1e6 fix: use bash over sh in package-browser
  • afceafb fix: correct other scripts which use sh shebang but bash features

📊 Changes

3 files changed (+3 additions, -3 deletions)

View changed files

📝 bin/package-browser (+1 -1)
📝 packages/loot-core/bin/build-browser (+1 -1)
📝 packages/loot-core/bin/build-mobile (+1 -1)

📄 Description

Running package-browser on Linux gets me the error:

bin/package-browser: 9: Syntax error: "(" unexpected

This appears to be due to the fact that the shebang specifies sh whereas the other scripts use bash. Switching the shebang to match the other files fixes this issue.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/72 **Author:** [@TomAFrench](https://github.com/TomAFrench) **Created:** 5/29/2022 **Status:** ✅ Merged **Merged:** 6/29/2022 **Merged by:** [@jlongster](https://github.com/jlongster) **Base:** `master` ← **Head:** `package-browser-bash` --- ### 📝 Commits (2) - [`5aac1e6`](https://github.com/actualbudget/actual/commit/5aac1e60baae14395ee8dfb45be947dd6634f6b5) fix: use bash over sh in package-browser - [`afceafb`](https://github.com/actualbudget/actual/commit/afceafb39e1beaaf2a6b94563428498646dca36b) fix: correct other scripts which use sh shebang but bash features ### 📊 Changes **3 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `bin/package-browser` (+1 -1) 📝 `packages/loot-core/bin/build-browser` (+1 -1) 📝 `packages/loot-core/bin/build-mobile` (+1 -1) </details> ### 📄 Description Running `package-browser` on Linux gets me the error: ``` bin/package-browser: 9: Syntax error: "(" unexpected ``` This appears to be due to the fact that [the shebang specifies `sh`](https://unix.stackexchange.com/a/253900) whereas the other scripts use bash. Switching the shebang to match the other files fixes this issue. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 20:34:50 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#3001