Skip to content

Commit 0bc3f31

Browse files
eopbifraixedes
authored andcommittedJul 25, 2023
all(build): Change shebang for better compatibility
NixOS doesn't have `#!/bin/bash`. Bash can be found on all Linuxes with `#!/usr/bin/env bash` so it's better to use that shebang. This doesn't actually enable building on NixOS since `uplink-c` also needs upgrading to a version that doesn't use `#!/bin/bash`. This was done in storj/uplink-c#24 related #49
1 parent 84995de commit 0bc3f31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎uplink-sys/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LOCAL_ABS_CRATE_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
66
# Makefile special variables #
77

88
.DEFAULT_GOAL := build
9-
SHELL := /bin/bash
9+
SHELL := /usr/bin/env bash
1010

1111
# Targets #
1212

‎uplink/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Makefile special variables #
22

33
.DEFAULT_GOAL := lint
4-
SHELL := /bin/bash
4+
SHELL := /usr/bin/env bash
55

66
# Targets #
77

0 commit comments

Comments
 (0)
Please sign in to comment.