Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitf7f89e48b91f3cf1ff75dd61e5d5b70b7cb98ec5 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-10-16 18:21:06 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-10-16 18:21:06 +0300
Files4491aa6c929240a1ba055d5ab6cfab8c56c4a9fc
csg-f7f89e48b91f3cf1ff75dd61e5d5b70b7cb98ec5.tar
csg-f7f89e48b91f3cf1ff75dd61e5d5b70b7cb98ec5.tar.gz
csg-f7f89e48b91f3cf1ff75dd61e5d5b70b7cb98ec5.zip
Parent8a33fd87814b0213c80a674fc8e2dd2eac099bac (diff)
(s1) Silenced cpio output
1 files changed, 1 insertions, 1 deletions
-rwxr-xr-xcsg2
diff --git a/csg b/csg
index f781966..fe6a6f8 100755
--- a/csg
+++ b/csg
@@ -31,7 +31,7 @@ fi
### Copy everything from SOURCE to OUTPUT
(cd "$SOURCE" && \
find . -type f -not -name "\.*" -not -name '_header.html' -not -name '_footer.html' | \
- cpio -pdu "$OUTPUT")
+ cpio -pdu "$OUTPUT" >/dev/null 2>&1)
find "$OUTPUT" -type f -name "*index.md" -links +1 | while read -r file; do
mv "$file" "${file%md}html"