changeset 618:e6675a7afbf1

Recursively create $MERGE_DIR.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 22 May 2016 15:30:19 +0300
parents 17b49d08a1a6
children 06d957e2cdce
files hg/hgsyncee
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hg/hgsyncee	Wed May 18 14:57:50 2016 +0300
+++ b/hg/hgsyncee	Sun May 22 15:30:19 2016 +0300
@@ -151,7 +151,7 @@
     exit 1;
 fi
 
-if [ -d "$MERGE_DIR" ] || mkdir "$MERGE_DIR"; then
+if [ -d "$MERGE_DIR" ] || mkdir -p "$MERGE_DIR"; then
     :
 else
     MSG="Can not create $MERGE_DIR."