Return to repo list

remgit-scripts

A collection of scripts for use with a simple remote git service.
Return to HMagellan.com

commit eaf1b5b117034d5337b56e90319152ccf809c2b9
parent 4cc7296a24b8f9b20417a14d994def02852ac1e4
Author: Erik Letson <hmagellan@tutamail.com>
Date:   Sat,  4 Jul 2020 08:07:27 -0500

fixed wrong var

Diffstat:
Mupstagit.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upstagit.sh b/upstagit.sh @@ -41,7 +41,7 @@ $STAGIT_INDEX_COM $REPO_PATH/* > $WEB_PATH/index.html # Update paths to stylesheets and logos in all web pages sed -i 's,class\=\"desc\">Repositories,class\=\"desc\"><h1>Repositories<\/h1>,g' "$WEB_PATH/index.html" sed -i 's,<td><b>Owner<\/b><\/td>,<td><\/td>,g' "$WEB_PATH/index.html" -sed -i "s,<td><a href\=\",<td><a href=\"$REPO_PATH\/,g" "$WEB_PATH/index.html" +sed -i "s,<td><a href\=\",<td><a href=\"$WEB_REPO_DIR\/,g" "$WEB_PATH/index.html" for j in $(ls $REPO_PATH); do for k in $(ls -R -a1 $WEB_PATH/$WEB_REPO_DIR/* | find $WEB_PATH/$WEB_REPO_DIR | grep ".html$"); do