diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 15:09:22 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 15:39:51 -0400 |
commit | 479e2d7bcdc352626a7c4f0289d8f0c75360a978 (patch) | |
tree | 35905b9c506f643a8cea5e3ebb61f2bb80a3abc6 /.config/Makefile | |
parent | 35e5363eec303944b902b9f1603e38392ca4558b (diff) |
Makefile: don't error if there are no Maildir folders
Diffstat (limited to '.config/Makefile')
-rw-r--r-- | .config/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/Makefile b/.config/Makefile index 909486d..c4cd5d0 100644 --- a/.config/Makefile +++ b/.config/Makefile @@ -15,7 +15,7 @@ clean: rm -f $(targets) ${HOME}/.folders: ${HOME}/Maildir $(MAKEFILE_LIST) - find $< -mindepth 2 -maxdepth 2 \( -type f -name "maildirfolder" -o -type d -name new -o -type d -name tmp -o -type d -name cur \) -printf '%P\0' | xargs -0 dirname -z -- | sort -zu | xargs -0 printf -- '.%s\n' >'$@' + find $< -mindepth 2 -maxdepth 2 \( -type f -name "maildirfolder" -o -type d -name new -o -type d -name tmp -o -type d -name cur \) -printf '%P\0' | xargs -r0 dirname -z -- | sort -zu | xargs -0 printf -- '.%s\n' >'$@' ${GIT_DIR}/info/exclude: ${HOME}/.git.info.exclude.in $(shell echo .??*/) ( cat $<; find $^ -type f -name 'CACHEDIR.TAG' -printf '%h\n'|sed 's@^\./@/@' ) > $@ |