From bf6478becccc63fe4ac38daef6181976dc9641b7 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Wed, 6 Feb 2019 19:49:10 +0100 Subject: scripts/periupport_conv: create dest dir if it does not exist Signed-off-by: Wolfram Sang --- scripts/periupport_conv | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/periupport_conv') diff --git a/scripts/periupport_conv b/scripts/periupport_conv index 9ee84fa..49fa00f 100755 --- a/scripts/periupport_conv +++ b/scripts/periupport_conv @@ -5,6 +5,8 @@ SRC="$1" DST="$2" +[ ! -d "$DST" ] && mkdir -p "$DST" + # FIXME: ensure this is not already existing in another task uuid_cmd="cat /proc/sys/kernel/random/uuid" -- cgit v1.2.3