fix darcs bug with relative srcdir
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 4 Apr 2009 23:07:19 +0000 (19:07 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 4 Apr 2009 23:07:19 +0000 (19:07 -0400)
ikiwiki-makerepo

index 8d590f0c20e114ff21298ec3f647617d6c41c8cf..31053503066e493a4638a3d9d514440d40256a5e 100755 (executable)
@@ -128,8 +128,7 @@ darcs)
        fi
 
        mkdir -p "$repository"
-       cd "$repository"
-       darcs initialize
+       (cd "$repository" && darcs initialize)
 
        mkdir -p "$srcdir"
        cd "$srcdir"