aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-03-23 15:50:10 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-03-23 15:50:10 +0100
commit083bbe2ce001f65e3b6bee3a0d7297e953fc80c4 (patch)
treeec73e000f26195d33d814b7ef962aec4cb78c07e
parent530f1ac53cf4057de39225a21e910f10fb8ab62f (diff)
fixed missing file error
-rwxr-xr-xclient/cmd/example.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/cmd/example.sh b/client/cmd/example.sh
index 7c37ff5..1d85a74 100755
--- a/client/cmd/example.sh
+++ b/client/cmd/example.sh
@@ -5,6 +5,7 @@ log_url=http://tlog-poc.system-transparency.org:4780/st/v1
ns="$1"; shift
tmpdir=$(mktemp -dt stfe.XXXXXXXX)
+cp $0 $tmpdir/
cd $tmpdir
commonargs="--log_id $ns --log_url $log_url" # --logtostderr -v 3
@@ -44,6 +45,6 @@ echo "fetching the log's first entry..."
get-entries $commonargs --start 0 --end 0
echo ""
-rm *.output
+rm *.output $0
cd
rmdir $tmpdir