aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarshit Shah <git@darnir.net>2020-05-07 21:02:10 +0200
committerDarshit Shah <git@darnir.net>2020-05-07 21:02:10 +0200
commit47247e9cbc9ea873d8d0657d9fe5586b76623b14 (patch)
tree709b480ad72cd3eed5ad7046d5335406996c063d
parentdcea0f42032307605cefcc2e7b1add1a585b98f0 (diff)
downloadrofi-pass-47247e9cbc9ea873d8d0657d9fe5586b76623b14.tar.gz
Make the entire directory tree when creating the cache directory
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 9be317b..d5bde34 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -800,7 +800,7 @@ main () {
# create tmp dir
if [[ ! -d "$cache_dir/rofi-pass" ]]; then
- mkdir "$cache_dir/rofi-pass"
+ mkdir -p "$cache_dir/rofi-pass"
fi
# fix keyboard layout if enabled in config