From 21c7f1852b0d2ca145d18a165d6d90c6127dc44a Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 24 Jun 2024 06:01:16 +0300 Subject: refactoring --- lib/_ak_network | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/_ak_network') diff --git a/lib/_ak_network b/lib/_ak_network index 8c40f2b..2cdec02 100755 --- a/lib/_ak_network +++ b/lib/_ak_network @@ -24,7 +24,7 @@ _ak_network_cjdns_scanner(){ exit 1 fi - TEMPDIR="$(mktemp -d)" + TEMPDIR="$(_ak_make_temp_directory)" AK_ZPEERSFILE="$HOME/.arching-kaos/peersFile" cd $TEMPDIR counter=0 @@ -112,7 +112,7 @@ _ak_network_stellar_get_asset_holders(){ } _ak_network_scan_stellar(){ - tempdir=`mktemp -d` + tempdir=`_ak_make_temp_directory` tempfile="$tempdir/tmp" tempaddr="$tempdir/tmpaddr" @@ -265,7 +265,7 @@ _ak_network_cjdns_connect(){ then peersfile="$1" else - peersfile="$(mktemp)" + peersfile="$(_ak_make_temp_file)" tmpon="yes" curl -s "https://arching-kaos.net/files/ak_cjdns_bootstrap_peers" > $peersfile fi -- cgit v1.2.3