commit 9d242ad39b22937e6943e1813c4327d1a70b84f6
parent 8a3b5b3742254cd71a54616b5c5e3cbf652cc39b
Author: Cem Keylan <cem@ckyln.com>
Date: Fri, 19 Jun 2020 09:57:39 +0300
post-receive: fix shellcheck error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/post-receive b/post-receive
@@ -80,7 +80,7 @@ ln -sf log.html index.html
-- "$tag"
done
for dir in archive "archive/$repository"; do (
- cd "$STAGIT_DIR/$dir"
+ cd "$STAGIT_DIR/$dir" || exit 1
lsindex "$STAGIT_DIR" > index.html
) done
}