diff options
82 files changed, 83 insertions, 83 deletions
diff --git a/api/make_cache.sh b/api/make_cache.sh index c075f27..cce86bd 100755 --- a/api/make_cache.sh +++ b/api/make_cache.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ak schain --get-latest > $AK_CACHEDIR/ak-find-latest-mined-sblock.json ak zchain --crawl > $AK_CACHEDIR/ak-get-chain-minified.json ak zchain --get-latest > $AK_CACHEDIR/ak-get-zlatest.json diff --git a/api/tests/announce_zblock.sh b/api/tests/announce_zblock.sh index 15a48ef..43db7d3 100755 --- a/api/tests/announce_zblock.sh +++ b/api/tests/announce_zblock.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" printf '[%s]\n' "$PROGRAM" printf "TEST\t/v0/announce/zblock\n" diff --git a/api/tests/announce_zchain_link.sh b/api/tests/announce_zchain_link.sh index 1608a08..d938286 100755 --- a/api/tests/announce_zchain_link.sh +++ b/api/tests/announce_zchain_link.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" printf '[%s]\n' "$PROGRAM" printf "TEST\t/v0/announce/zchain\n" diff --git a/api/tests/default_route.sh b/api/tests/default_route.sh index c50d11d..3b1ba6c 100755 --- a/api/tests/default_route.sh +++ b/api/tests/default_route.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" printf '[%s]\n' "$PROGRAM" curl -s http://127.0.0.1:8610 2>/dev/null | jq > /dev/null diff --git a/api/tests/gathered_zblocks.sh b/api/tests/gathered_zblocks.sh index bde7313..273f968 100755 --- a/api/tests/gathered_zblocks.sh +++ b/api/tests/gathered_zblocks.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # PROGRAM="$(basename $0)" diff --git a/api/tests/gathered_zchain_zlatest_pairs.sh b/api/tests/gathered_zchain_zlatest_pairs.sh index 60da911..e30f24c 100755 --- a/api/tests/gathered_zchain_zlatest_pairs.sh +++ b/api/tests/gathered_zchain_zlatest_pairs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" printf '[%s]\n' "$PROGRAM" printf "TEST\t/seens\n" diff --git a/api/tests/latest_known_mined_block.sh b/api/tests/latest_known_mined_block.sh index 168767e..1ef55a1 100755 --- a/api/tests/latest_known_mined_block.sh +++ b/api/tests/latest_known_mined_block.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # PROGRAM="$(basename $0)" printf '[%s]\n' "$PROGRAM" diff --git a/api/tests/node_local_chain.sh b/api/tests/node_local_chain.sh index fb5672f..626456e 100755 --- a/api/tests/node_local_chain.sh +++ b/api/tests/node_local_chain.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" printf '[%s]\n' "$PROGRAM" printf "TEST /zchain\n" diff --git a/api/tests/node_local_zlatest.sh b/api/tests/node_local_zlatest.sh index 132107f..fe8e01b 100755 --- a/api/tests/node_local_zlatest.sh +++ b/api/tests/node_local_zlatest.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" printf '[%s]\n' "$PROGRAM" API_RES="$(curl -s http://127.0.0.1:8610/v0/zlatest 2>/dev/null | sha512sum - | awk '{ printf $1 }')" diff --git a/api/tests/show_mined_block.sh b/api/tests/show_mined_block.sh index 6477a32..a621af1 100755 --- a/api/tests/show_mined_block.sh +++ b/api/tests/show_mined_block.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" printf '[%s]\n' "$PROGRAM" printf "#TODO /sblock endpoint\n" diff --git a/api/tests/test_all_routes.sh b/api/tests/test_all_routes.sh index 9a56faa..b9fd125 100755 --- a/api/tests/test_all_routes.sh +++ b/api/tests/test_all_routes.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" printf '[%s] Starting tests...\n' "$PROGRAM" bash node_local_chain.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export AK_DEBUG="yes" ## ## Arching Kaos CLI tool is the main executable script to use for exploring, diff --git a/bin/ak-cjdns b/bin/ak-cjdns index 3abc254..9219f19 100755 --- a/bin/ak-cjdns +++ b/bin/ak-cjdns @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## cjdns helper ## diff --git a/bin/ak-clean b/bin/ak-clean index 8d28d74..f1d7f49 100755 --- a/bin/ak-clean +++ b/bin/ak-clean @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Cleans up temporary directories and files ## diff --git a/bin/ak-coin b/bin/ak-coin index 96f9f88..cd14602 100755 --- a/bin/ak-coin +++ b/bin/ak-coin @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Coin status ## diff --git a/bin/ak-config b/bin/ak-config index 4418ba3..5d7b630 100755 --- a/bin/ak-config +++ b/bin/ak-config @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Usage: ak-config [ -h | --help | --show | --publish | --get-published ] ## @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Tools to add, get and cat files to/from the Arching Kaos File System ## diff --git a/bin/ak-get-balances b/bin/ak-get-balances index 5fe56ea..9fa7385 100755 --- a/bin/ak-get-balances +++ b/bin/ak-get-balances @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Calculates the balances of the sblocks found from a chain ## Saves stuff too for later reference @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## It is a minimal wrapper aroung lib/_ak_gpg. ## diff --git a/bin/ak-ipfs-daemon b/bin/ak-ipfs-daemon index 6ae4aa3..3265966 100755 --- a/bin/ak-ipfs-daemon +++ b/bin/ak-ipfs-daemon @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Starts IPFS daemon ## diff --git a/bin/ak-ipfs-starter b/bin/ak-ipfs-starter index 3a7df29..7ce85c2 100755 --- a/bin/ak-ipfs-starter +++ b/bin/ak-ipfs-starter @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" source $AK_LIBDIR/_ak_log diff --git a/bin/ak-json2bash b/bin/ak-json2bash index 70b0d3b..28a7e37 100755 --- a/bin/ak-json2bash +++ b/bin/ak-json2bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # ak-json2bash # @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Used to overview, archive or append to the log file ## diff --git a/bin/ak-mempool b/bin/ak-mempool index 4e796fb..98c003a 100755 --- a/bin/ak-mempool +++ b/bin/ak-mempool @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Brief description ## diff --git a/bin/ak-mine b/bin/ak-mine index 7f7a826..dd3e970 100755 --- a/bin/ak-mine +++ b/bin/ak-mine @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## You can mine sblocks for schain ## diff --git a/bin/ak-network b/bin/ak-network index 5cafd86..b14f0d2 100755 --- a/bin/ak-network +++ b/bin/ak-network @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Network tools ## diff --git a/bin/ak-node-info b/bin/ak-node-info index b3933c1..21255c6 100755 --- a/bin/ak-node-info +++ b/bin/ak-node-info @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Brief description ## diff --git a/bin/ak-profile b/bin/ak-profile index a595080..c7d55c0 100755 --- a/bin/ak-profile +++ b/bin/ak-profile @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Indexes, shows, imports, adds, sets and gets values from and to the ## zchain and files. diff --git a/bin/ak-sblock b/bin/ak-sblock index 3766b96..dd6d764 100755 --- a/bin/ak-sblock +++ b/bin/ak-sblock @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Tools to show/read sblocks ## diff --git a/bin/ak-schain b/bin/ak-schain index 3164eeb..cf166a5 100755 --- a/bin/ak-schain +++ b/bin/ak-schain @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Various tools for schains ## diff --git a/bin/ak-settings b/bin/ak-settings index d2c87fb..ec29f95 100755 --- a/bin/ak-settings +++ b/bin/ak-settings @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Set or get settings for your instance ## diff --git a/bin/ak-startup b/bin/ak-startup index eeaf29c..479bba5 100755 --- a/bin/ak-startup +++ b/bin/ak-startup @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Arching Kaos system starter ## diff --git a/bin/ak-template b/bin/ak-template index 362b22e..85ecd0a 100755 --- a/bin/ak-template +++ b/bin/ak-template @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Brief description ## diff --git a/bin/ak-transactions b/bin/ak-transactions index b23920a..669b5b3 100755 --- a/bin/ak-transactions +++ b/bin/ak-transactions @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## ak-transactions <from> <to> <amount> ## diff --git a/bin/ak-update b/bin/ak-update index 95e7963..a69f0ab 100755 --- a/bin/ak-update +++ b/bin/ak-update @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -L "${AK_WORKDIR}/bin/ak" ] then diff --git a/bin/ak-zblock b/bin/ak-zblock index 3a16ec4..9a7caec 100755 --- a/bin/ak-zblock +++ b/bin/ak-zblock @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Performs various operations on a zblock. Additionally, it can also pack one ## from given information, which can be added on top of your zchain. diff --git a/bin/ak-zchain b/bin/ak-zchain index eabd9a4..f6370b9 100755 --- a/bin/ak-zchain +++ b/bin/ak-zchain @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Tools for zchains ## diff --git a/full_test_with_podman.sh b/full_test_with_podman.sh index 517175e..b551838 100755 --- a/full_test_with_podman.sh +++ b/full_test_with_podman.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ ! -z $1 ] && [ -n "$1" ] then diff --git a/gen-changelog.sh b/gen-changelog.sh index 9945958..ee1bca5 100755 --- a/gen-changelog.sh +++ b/gen-changelog.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash git -P log --summary | grep -e ' ' -e 'commit' -e 'Date:' | sed -e 's/commit /---\n/g' -e 's/Date: //g' > CHANGELOG @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -x source lib/_ak_ipfs source lib/_ak_settings @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash clear printf "Arching Kaos Tools Installer\n" printf "============================\n" diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update index 63d5680..0e2cb39 100755 --- a/ipfs-check-install-setup-init-update +++ b/ipfs-check-install-setup-init-update @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PROGRAM="$(basename $0)" source lib/_ak_script source lib/_ak_log 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 |