summaryrefslogtreecommitdiff
path: root/ikiwiki-makerepo
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-04 19:07:19 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-04 19:07:19 -0400
commit0e0c6606a6268ce50fd6eca263392b86ad7592ef (patch)
treef8535f68beffa60fd739eb6d36012ca7bcc5073a /ikiwiki-makerepo
parent4cf70291bcc4fbeeb2a6233a121b5d9f9c00344d (diff)
fix darcs bug with relative srcdir
Diffstat (limited to 'ikiwiki-makerepo')
-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"