aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-readme.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-21 05:49:05 -0300
committerEuAndreh <eu@euandre.org>2021-08-21 05:49:05 -0300
commitde2c1beae4690626597b50abdba9feb38a5be5f7 (patch)
tree2f9df5267b7f85436c28f02a7eff036ed8b21f5b /aux/workflow/assert-readme.sh
parentsrc/tests-lib.c: Move testing helper function and share it with other files (diff)
downloadgistatic-de2c1beae4690626597b50abdba9feb38a5be5f7.tar.gz
gistatic-de2c1beae4690626597b50abdba9feb38a5be5f7.tar.xz
aux/: Update
Diffstat (limited to 'aux/workflow/assert-readme.sh')
-rwxr-xr-xaux/workflow/assert-readme.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/aux/workflow/assert-readme.sh b/aux/workflow/assert-readme.sh
index dbe657e..1e49bfb 100755
--- a/aux/workflow/assert-readme.sh
+++ b/aux/workflow/assert-readme.sh
@@ -1,6 +1,10 @@
#!/bin/sh
set -eu
+if [ ! -e .git ]; then
+ exit
+fi
+
TLD="$(cat aux/tld.txt)"
. aux/lib.sh