summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xikiwiki-makerepo3
1 files changed, 1 insertions, 2 deletions
diff --git a/ikiwiki-makerepo b/ikiwiki-makerepo
index 8d590f0c2..310535030 100755
--- a/ikiwiki-makerepo
+++ b/ikiwiki-makerepo
@@ -128,8 +128,7 @@ darcs)
fi
mkdir -p "$repository"
- cd "$repository"
- darcs initialize
+ (cd "$repository" && darcs initialize)
mkdir -p "$srcdir"
cd "$srcdir"