cpctelera icon indicating copy to clipboard operation
cpctelera copied to clipboard

bash path hard coded in .sh scripts

Open SanPollo opened this issue 6 months ago • 0 comments

In many of the .sh scripts, the first line points to bash being in /bin:

#!/bin/bash

However, on BSD operating systems, bash is not part of the base system, and could be in /usr/local/bin or /usr/pkg/bin

To make CPCtelera OS-agnostic, please change the first line in each affected script to the following:

#!/usr/bin/env bash

SanPollo avatar Aug 18 '24 19:08 SanPollo