]> git.armaanb.net Git - stagit.git/commitdiff
example.sh: use cache file
authorHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 2 May 2016 19:48:47 +0000 (21:48 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 2 May 2016 19:48:47 +0000 (21:48 +0200)
example.sh

index f587e8ed222bf04d4f2d9c26bc045acb13c55c07..6f4ea2dd294bd7be48180c3f765099d0bab1d0cb 100644 (file)
@@ -27,7 +27,7 @@ find . -maxdepth 1 -type d | grep -v "^.$" | sort | while read -r dir; do
 
        mkdir -p "${curdir}/${d}"
        cd "${curdir}/${d}"
-       stagit "${reposdir}/${d}"
+       stagit -c ".cache" "${reposdir}/${d}"
 
        # symlinks
        ln -sf log.html index.html