Skip to content

Commit 52d8f85

Browse files
committed
fix: use env to find bash interpreter
Using `/bin/bash` may cause issues, where some Linux distribution do not place the bash binary under `/bin` eor adhere to Filesystem Hierarchy Standard (FHS), e.g., NixOS.
1 parent 9e01676 commit 52d8f85

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/gitbook/scripts/clean.sh

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

33
set -o errexit
44
set -o pipefail

packages/gitbook/scripts/generate.sh

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

33
set -o errexit
44
set -o pipefail

0 commit comments

Comments
 (0)