sbs

A Simple Blogging System.
git clone https://git.sr.ht/~jbauer/sbs
Log | Files | Refs | README | LICENSE

commit 950fd84d7e50dd898b3554d24585fd056a8a0032
parent d542b18646442182ec2fb0557a5637620756fdae
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri, 17 Mar 2023 19:55:59 -0400

Make pushcommand only echo if verbosity set

Diffstat:
Msbs | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sbs b/sbs @@ -225,7 +225,9 @@ build() # Push the contents of the static/ folder using the configured command push() { - echo "$pushCommand" + if [ "$verbosity" -gt 0 ]; then + echo "$pushCommand" + fi sh -c "$pushCommand" }