From 30bb6ddf1f7fceb5007d9fe6acfcfe81e41de179 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 19 May 2023 06:52:32 -0300 Subject: Makefile: mkdir -p ~/mnt/ dirs --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d8999db..b3140eb 100644 --- a/Makefile +++ b/Makefile @@ -72,10 +72,12 @@ $(HOME)/.ssh: ln -s $(XDG_CONFIG_HOME)/ssh $@ $(HOME)/mnt/suyin/enc: + if [ ! -e $(@D) ]; then mkdir -p $(@D); fi sshfs suyin: $(@D) $(HOME)/mnt/crypt/.keep: $(HOME)/mnt/suyin/enc - if [ ! -e $@ ]; then cryfs $? $(@D); fi + if [ ! -e $(@D) ]; then mkdir -p $(@D); fi + if [ ! -e $@ ]; then cryfs $? $(@D); fi touch $@ $(XDG_DATA_HOME)/common-lisp/source: -- cgit v1.2.3