Skip to content

Commit c3bac6f

Browse files
committed
scripts: use system bash
1 parent 324aabd commit c3bac6f

34 files changed

Lines changed: 44 additions & 36 deletions

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Ignore "Unused variables"
2+
# shellcheck shell=sh disable=SC2034
3+
14
PREFIX="${PREFIX:-/opt/local}"
25
STOWDIR="${PREFIX}/stow"
36
PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig"

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
branches:
88
- master
99
paths:
10-
- '.github/workflows/build.yml'
11-
- 'build-*'
12-
- 'fetch'
10+
- ".github/workflows/build.yml"
11+
- "build-*"
12+
- "fetch"
1313

1414
jobs:
1515
build:

.shellcheckrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
external-sources=true
22

3+
enable=avoid-nullary-conditions
4+
enable=quote-safe-variables
5+
enable=require-double-brackets
6+
enable=require-variable-braces
7+
38
# Ignore "Expressions don't expand in single quotes"
49
disable=SC2016
510

build-all

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S bash -e
1+
#!/bin/bash -e
22

33
cd "$(dirname "$0")"
44

build-brotli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S bash -e
1+
#!/bin/bash -e
22
#
33
# brotli
44
# https://github.com/google/brotli.git

build-dav1d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S bash -e
1+
#!/bin/bash -e
22
#
33
# dav1d
44
# https://code.videolan.org/videolan/dav1d.git

build-ffmpeg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S bash -e
1+
#!/bin/bash -e
22
#
33
# FFmpeg
44
# https://git.ffmpeg.org/ffmpeg.git

build-freetype

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S bash -e
1+
#!/bin/bash -e
22
#
33
# FreeType
44
# https://gitlab.freedesktop.org/freetype/freetype.git

build-fribidi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S bash -e
1+
#!/bin/bash -e
22
#
33
# GNU FriBidi
44
# https://github.com/fribidi/fribidi.git

build-harfbuzz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S bash -e
1+
#!/bin/bash -e
22
#
33
# HarfBuzz
44
# https://github.com/harfbuzz/harfbuzz.git

0 commit comments

Comments
 (0)