aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-07 17:15:28 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-07 17:15:28 +0200
commit4114fd1586bce1757b06efbc5a941df71a0a049b (patch)
treeffd5fd3953f70a04c7ffa2811e3c2f613091c72e /src
parent72d7fdf56ebf5f02614f1172115a687ccc7f39fa (diff)
downloadarching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.tar.gz
arching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.tar.bz2
arching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.zip
Portable shebangs
Diffstat (limited to 'src')
-rwxr-xr-xsrc/build.sh2
-rwxr-xr-xsrc/build_tree/ak_fs_build.sh2
-rwxr-xr-xsrc/build_tree/ak_log_build.sh2
-rwxr-xr-xsrc/new_lib.sh2
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:]')"