don't commit with DEBUG=1
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 13 Aug 2022 15:49:51 +0000 (17:49 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 13 Aug 2022 15:49:51 +0000 (17:49 +0200)
sbw-parse.pl

index 13dccf5..979cc47 100755 (executable)
@@ -312,4 +312,4 @@ print $dot_fh qq|
 |;
 
 system "dot -Tsvg /dev/shm/network.dot > /var/www/network.svg";
-system 'git -C /dev/shm commit -m $( date +%Y-%m-%d ) network.dot';
+system 'git -C /dev/shm commit -m $( date +%Y-%m-%d ) network.dot' if ! $debug;