]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki-makerepo
(no commit message)
[git.ikiwiki.info.git] / ikiwiki-makerepo
index 8d590f0c20e114ff21298ec3f647617d6c41c8cf..31053503066e493a4638a3d9d514440d40256a5e 100755 (executable)
@@ -128,8 +128,7 @@ darcs)
        fi
 
        mkdir -p "$repository"
        fi
 
        mkdir -p "$repository"
-       cd "$repository"
-       darcs initialize
+       (cd "$repository" && darcs initialize)
 
        mkdir -p "$srcdir"
        cd "$srcdir"
 
        mkdir -p "$srcdir"
        cd "$srcdir"