From 1b5d4233c3fb02e22230feb00b41fcb342f9b258 Mon Sep 17 00:00:00 2001 From: Michael De Roover Date: Thu, 14 May 2020 16:46:53 +0200 Subject: [PATCH] Create data directory recursively This is mainly for Termux where apparently Documents doesn't exist by default either. --- cv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv b/cv index 48d3c69..d69ba3d 100755 --- a/cv +++ b/cv @@ -20,7 +20,7 @@ data="$HOME/Documents/cv" if [ ! -d "$data" ] then - ex "mkdir $data" + ex "mkdir -p $data" # This is just for migration. Remove afterwards. ex "mv /tmp/cv/* $data/ -v" fi