Skip to content
Snippets Groups Projects
Commit 26f04d0a authored by Olivier Dion's avatar Olivier Dion Committed by Adrien Béraud
Browse files

agent: Remove junks

Change-Id: I09876059293d18e25c34e755deafba8d224dc740
parent 448b4e1e
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
tmp=$(mktemp --directory)
export XDG_CONFIG_HOME=$tmp
export XDG_CACHE_HOME=$tmp
export XDG_DATA_HOME=$tmp
archive=$1
inputs=$(mktemp --suffix=.scm)
outputs=$(mktemp)
cat -> "$inputs" <<EOF
(agent:ensure-account)
(agent->archive "${archive}")
EOF
JAMI_LOG_FILE="$outputs" ./agent "$inputs"
grep AGENT "$outputs"
rm "$inputs"
rm "$outputs"
rm -rf "$tmp"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment