diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-02-06 19:49:10 +0100 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-02-06 19:49:50 +0100 |
commit | bf6478becccc63fe4ac38daef6181976dc9641b7 (patch) | |
tree | b1196c45422fab1846a21497fdd80b78fb8f3bfb | |
parent | 2c4f9bc79feb58bd2380c720327a00cb6c3f8b41 (diff) |
scripts/periupport_conv: create dest dir if it does not exist
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
-rwxr-xr-x | scripts/periupport_conv | 2 |
1 files changed, 2 insertions, 0 deletions
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" |