aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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:]')"