From 38ab542695c4650578ad0831e1539eaf4c456d16 Mon Sep 17 00:00:00 2001 From: violet Date: Wed, 14 Jun 2023 21:36:20 -0400 Subject: [PATCH] contrib/testcmds.fish: use base64 instead of xxd more widely available command --- contrib/testcmds.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/testcmds.fish b/contrib/testcmds.fish index 69f22a1..1dff5e1 100644 --- a/contrib/testcmds.fish +++ b/contrib/testcmds.fish @@ -32,7 +32,7 @@ function sachet_upload -d "uploads a file" set URL (http --session=$_flag_session post $BASENAME/files file_name=$FNAME | tee /dev/tty | jq -r .url) http --session=$_flag_session -f post $BASENAME/$URL/content \ upload@$argv \ - dzuuid=(cat /dev/urandom | xxd -ps | head -c 32) \ + dzuuid=(cat /dev/urandom | base64 | head -c 32) \ dzchunkindex=0 \ dztotalchunks=1 end