depsterr.com

The sources and build system for depsterr.com
git clone git://depsterr.com/git/depsterr.com
Log | Files | Refs | LICENSE

commit 539112b526cdf7b4de6ec3ed92e67da4600de621
parent 7f362ff9f4f00c2c1f6a32cd8556de644a7f7e69
Author: depsterr <depsterr@protonmail.com>
Date:   Fri, 26 Jun 2020 02:58:35 +0200

fixed git page script to use dir and not script

Diffstat:
Mgit_page.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/git_page.sh b/git_page.sh @@ -78,9 +78,9 @@ while read -r line; do done < "$2" [ "$in" = true ] || echo "$1" >> "$2" -reponame="$(basename "$0")" -repodir="$(dirname "$0")" -echo "git clone git://depsterr.com/git/$reponame" > "$repodir/$reponame" +reponame="$(basename "$1")" +repodir="$(dirname "$1")" +printf 'git clone git://depsterr.com/git/%s', "$reponame" > "$repodir/$reponame" # shellcheck disable=2046 stagit-index $(cat "$2") > "$DESTDIR/index.html"