about summary refs log tree commit diff
path: root/mmkdir
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-03-09 18:56:32 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-03-09 18:56:32 +0100
commit8c9e0aae050aeac8694fbcca23f2d82d459a3b48 (patch)
treeecb511935d9065f65f0d5e917ebbb38371a2e2b6 /mmkdir
parent079e423438a745849ee530bb7b87dff244d6b88f (diff)
downloadmblaze-8c9e0aae050aeac8694fbcca23f2d82d459a3b48.tar.gz
mblaze-8c9e0aae050aeac8694fbcca23f2d82d459a3b48.tar.xz
mblaze-8c9e0aae050aeac8694fbcca23f2d82d459a3b48.zip
mmkdir: create subdirectories in order like maildirmake
Diffstat (limited to 'mmkdir')
-rwxr-xr-xmmkdir2
1 files changed, 1 insertions, 1 deletions
diff --git a/mmkdir b/mmkdir
index 28feee6..48950dc 100755
--- a/mmkdir
+++ b/mmkdir
@@ -5,7 +5,7 @@ umask 077
 
 r=0
 for dir; do
-	mkdir -p "$dir"/cur "$dir"/new "$dir"/tmp || r=1
+	mkdir -p "$dir"/tmp "$dir"/new "$dir"/cur || r=1
 done
 
 exit $r