1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

Format shell scripts

This commit is contained in:
Rohan Kumar 2023-11-23 19:06:46 -08:00
parent d88d98f829
commit 226ee52f85
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
4 changed files with 14 additions and 14 deletions

View file

@ -1,4 +1,6 @@
#!/bin/sh
set -e -u
# Runs axe on every page of my sitemap
# first arg is output directory, after that comes urls from a sitemap. We replace the urls with equivalent local file paths.
PATH="$(dirname "$0"):$PATH"

View file

@ -39,7 +39,6 @@ done
url="$1"
find_rel_mention_count() {
curl -s "$url" | grep -cF 'rel="mentioned"'
}

View file

@ -8,7 +8,6 @@
set -e -u
# the name of this program
progname="$(basename "$0")"
dirname="$(dirname "$0")"