From 4114fd1586bce1757b06efbc5a941df71a0a049b Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 7 Dec 2024 17:15:28 +0200 Subject: Portable shebangs --- src/build.sh | 2 +- src/build_tree/ak_fs_build.sh | 2 +- src/build_tree/ak_log_build.sh | 2 +- src/new_lib.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/build.sh b/src/build.sh index b09c0de..183f022 100755 --- a/src/build.sh +++ b/src/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ ! -d $PWD/lib ] then mkdir $PWD/lib diff --git a/src/build_tree/ak_fs_build.sh b/src/build_tree/ak_fs_build.sh index 91ad759..d45fb0a 100755 --- a/src/build_tree/ak_fs_build.sh +++ b/src/build_tree/ak_fs_build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "Building lib/akfs.so" && \ gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include akfs.c -o lib/akfs.so && \ diff --git a/src/build_tree/ak_log_build.sh b/src/build_tree/ak_log_build.sh index bbc8db6..ddd4e64 100755 --- a/src/build_tree/ak_log_build.sh +++ b/src/build_tree/ak_log_build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "Building lib/aklog.so" && \ gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include aklog.c -o lib/aklog.so && \ diff --git a/src/new_lib.sh b/src/new_lib.sh index 94dd695..a079472 100755 --- a/src/new_lib.sh +++ b/src/new_lib.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash library="${1}" library_capitals="$(echo ${library} | tr '[:lower:]' '[:upper:]')" -- cgit v1.2.3