aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/_ak_cjdns2
-rwxr-xr-xlib/_ak_coin2
-rwxr-xr-xlib/_ak_config2
-rwxr-xr-xlib/_ak_fm2
-rwxr-xr-xlib/_ak_gpg2
-rwxr-xr-xlib/_ak_html2
-rwxr-xr-xlib/_ak_ipfs2
-rwxr-xr-xlib/_ak_log2
-rwxr-xr-xlib/_ak_network2
-rwxr-xr-xlib/_ak_node2
-rwxr-xr-xlib/_ak_sblock2
-rwxr-xr-xlib/_ak_schain2
-rwxr-xr-xlib/_ak_script2
-rwxr-xr-xlib/_ak_settings2
-rwxr-xr-xlib/_ak_smfiles4
-rwxr-xr-xlib/_ak_zblock2
-rwxr-xr-xlib/_ak_zchain2
17 files changed, 18 insertions, 18 deletions
diff --git a/lib/_ak_cjdns b/lib/_ak_cjdns
index 4328c65..f997690 100755
--- a/lib/_ak_cjdns
+++ b/lib/_ak_cjdns
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_network
diff --git a/lib/_ak_coin b/lib/_ak_coin
index fda3bc0..e289841 100755
--- a/lib/_ak_coin
+++ b/lib/_ak_coin
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# coin max is 10,000.0000000
# but we count in integer to avoid floating point arithmetic :P
#
diff --git a/lib/_ak_config b/lib/_ak_config
index 45d0112..252a4e2 100755
--- a/lib/_ak_config
+++ b/lib/_ak_config
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_node
_ak_config_show(){
diff --git a/lib/_ak_fm b/lib/_ak_fm
index deefb6d..c170f27 100755
--- a/lib/_ak_fm
+++ b/lib/_ak_fm
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
_ak_fm_remove_line_from_file(){
tempfile="$(_ak_make_temp_file)"
diff --git a/lib/_ak_gpg b/lib/_ak_gpg
index b381067..0d838f1 100755
--- a/lib/_ak_gpg
+++ b/lib/_ak_gpg
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_ipfs
source $AK_LIBDIR/_ak_config
diff --git a/lib/_ak_html b/lib/_ak_html
index 38723c8..c31172e 100755
--- a/lib/_ak_html
+++ b/lib/_ak_html
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
_ak_generate_html_header(){
diff --git a/lib/_ak_ipfs b/lib/_ak_ipfs
index c5e0b6a..1028ae8 100755
--- a/lib/_ak_ipfs
+++ b/lib/_ak_ipfs
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
AK_IPFS_REPO="$AK_WORKDIR/ipfsrepo"
AK_IPFS_ARTIFACTS="$AK_WORKDIR/ipfs_artifacts"
diff --git a/lib/_ak_log b/lib/_ak_log
index 9e56606..7f832d8 100755
--- a/lib/_ak_log
+++ b/lib/_ak_log
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
_ak_log_print_log_line(){
if [ -n "$1" ]
diff --git a/lib/_ak_network b/lib/_ak_network
index 30d72b7..a30001d 100755
--- a/lib/_ak_network
+++ b/lib/_ak_network
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_ipfs
diff --git a/lib/_ak_node b/lib/_ak_node
index c1436d9..b4736d8 100755
--- a/lib/_ak_node
+++ b/lib/_ak_node
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_ipfs
# Resolves the IPNS key "ak-config" to its current IPFS value
diff --git a/lib/_ak_sblock b/lib/_ak_sblock
index 04038da..fbe6913 100755
--- a/lib/_ak_sblock
+++ b/lib/_ak_sblock
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
diff --git a/lib/_ak_schain b/lib/_ak_schain
index 809a454..136d1fd 100755
--- a/lib/_ak_schain
+++ b/lib/_ak_schain
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_sblock
diff --git a/lib/_ak_script b/lib/_ak_script
index 2338d1d..f2b4740 100755
--- a/lib/_ak_script
+++ b/lib/_ak_script
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
# Wanna talk about it?
diff --git a/lib/_ak_settings b/lib/_ak_settings
index 1a4be03..5a38a1e 100755
--- a/lib/_ak_settings
+++ b/lib/_ak_settings
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_script
diff --git a/lib/_ak_smfiles b/lib/_ak_smfiles
index 55ec381..f41d006 100755
--- a/lib/_ak_smfiles
+++ b/lib/_ak_smfiles
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
# The directory where the chunked data will be living at
@@ -87,7 +87,7 @@ _ak_sm_file_joiner(){
then
MAPSFILE="$1"
- echo '#!/bin/bash' > script
+ echo '#!/usr/bin/env bash' > script
# We create a script to copy all the chunks and rename them to their serialized
# name produced by split when we splitted the file
diff --git a/lib/_ak_zblock b/lib/_ak_zblock
index 1b278a0..3dff038 100755
--- a/lib/_ak_zblock
+++ b/lib/_ak_zblock
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#set -x
source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_script
diff --git a/lib/_ak_zchain b/lib/_ak_zchain
index 73b10fb..b561077 100755
--- a/lib/_ak_zchain
+++ b/lib/_ak_zchain
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_ipfs
source $AK_LIBDIR/_ak_zblock