From a165daec269307e3d26ae4e630aab111e4fd6062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 6 Jan 2021 21:26:15 +0100 Subject: Add `mkefp' (make ef path) helper The ef path is a directory containing an ef session's state. It is exposed as the environment variable EFP. For simplicity's sake, it is not allowed to contain spaces. --- bin/hlp/mkefp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/hlp/mkefp (limited to 'bin') diff --git a/bin/hlp/mkefp b/bin/hlp/mkefp new file mode 100755 index 0000000..f9eabbd --- /dev/null +++ b/bin/hlp/mkefp @@ -0,0 +1,7 @@ +#!/bin/sh + +# mkefp -- make ef path + +: ${EFPROOT:=/var/ef} +mkdir -p $EFPROOT +mktemp -tdp $EFPROOT efp.XXXXXX -- cgit v1.2.3