diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-24 06:01:16 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-24 06:01:16 +0300 |
commit | 21c7f1852b0d2ca145d18a165d6d90c6127dc44a (patch) | |
tree | fc7f56d5bd7132b2f7c96f4cf8887b53420eb320 /lib/_ak_network | |
parent | a1583cc6041ae6239bf8e32ccadd11b0b79b4c79 (diff) | |
download | arching-kaos-tools-21c7f1852b0d2ca145d18a165d6d90c6127dc44a.tar.gz arching-kaos-tools-21c7f1852b0d2ca145d18a165d6d90c6127dc44a.tar.bz2 arching-kaos-tools-21c7f1852b0d2ca145d18a165d6d90c6127dc44a.zip |
refactoring
Diffstat (limited to 'lib/_ak_network')
-rwxr-xr-x | lib/_ak_network | 6 |
1 files changed, 3 insertions, 3 deletions
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 |