diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-07 17:15:28 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-07 17:15:28 +0200 |
commit | 4114fd1586bce1757b06efbc5a941df71a0a049b (patch) | |
tree | ffd5fd3953f70a04c7ffa2811e3c2f613091c72e /src | |
parent | 72d7fdf56ebf5f02614f1172115a687ccc7f39fa (diff) | |
download | arching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.tar.gz arching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.tar.bz2 arching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.zip |
Portable shebangs
Diffstat (limited to 'src')
-rwxr-xr-x | src/build.sh | 2 | ||||
-rwxr-xr-x | src/build_tree/ak_fs_build.sh | 2 | ||||
-rwxr-xr-x | src/build_tree/ak_log_build.sh | 2 | ||||
-rwxr-xr-x | src/new_lib.sh | 2 |
4 files changed, 4 insertions, 4 deletions
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:]')" |