aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-readme.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-20 19:04:44 -0300
committerEuAndreh <eu@euandre.org>2021-08-20 19:11:15 -0300
commit8079e4ee6612c587be24e10c40936e3a750c4096 (patch)
tree48222da4aa1019369893fbd9e5bf3377f05fe968 /aux/workflow/assert-readme.sh
parentTODOs.md: Add #task-e8d9a644-ead4-af05-8582-eef22af90633 (diff)
downloadgit-permalink-8079e4ee6612c587be24e10c40936e3a750c4096.tar.gz
git-permalink-8079e4ee6612c587be24e10c40936e3a750c4096.tar.xz
aux/workflow/repocheck.sh: Run dev-check, adapt scripts that depend on Git repo
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