Skip to content

Commit 8ea255a

Browse files
authored
revert: "fix: resolve shellcheck warnings" (runfinch#725)
Reverts runfinch#684 This commit has a regression for signing. Revert to unblock the release. Signed-off-by: Kevin Li <[email protected]>
1 parent 0105776 commit 8ea255a

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Diff for: .github/workflows/ci.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ jobs:
7272
uses: ludeeus/[email protected]
7373
with:
7474
version: v0.9.0
75-
severity: warning
76-
continue-on-error: false
75+
continue-on-error: true
7776
go-mod-tidy-check:
7877
runs-on: ubuntu-latest
7978
steps:

Diff for: installer-builder/darwin/Resources/uninstall.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sudo pkill '^socket_vmnet'
1919
sudo pkill '^qemu-system-'
2020
sudo pkill '^limactl'
2121

22-
if [ "$(readlink '/usr/local/bin/finch')" = "/Applications/Finch/bin/finch" ]; then sudo rm /usr/local/bin/finch; fi
22+
if [ "$$(readlink "/usr/local/bin/finch")" = "/Applications/Finch/bin/finch" ]; then sudo rm /usr/local/bin/finch; fi
2323

2424
echo "[1/4] [DONE] Successfully deleted shortcut links"
2525

Diff for: installer-builder/tools/extract-executables.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ updateQEMUEntitlement() {
3636

3737
#$1: the file object
3838
extractExecutables() {
39-
for file in "$1"/{*,.*}
39+
for file in $(ls -a "$1")
4040
do
4141
if [ -d "$1/$file" ];
4242
then

Diff for: installer-builder/tools/merge-back-signed-executables.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
mergeBackSignedExecutables() {
4-
for file in ./installer-builder/output/executables/signed/Payload/EXECUTABLES_TO_SIGN/{*,.*}
4+
for file in $(ls -a ./installer-builder/output/executables/signed/Payload/EXECUTABLES_TO_SIGN)
55
do
66
if [[ $file != '.' && $file != '..' ]]
77
then

0 commit comments

Comments
 (0)