Return to repo list

remgit-scripts

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

commit 5641b80169148795ae57af3c1421b8c0642d94c2
parent d9c021f1c236c82f188f570b4159db2f93556fc8
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Sun,  5 Jul 2020 14:57:50 -0500

fixed home link regexp

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

diff --git a/upstagit.sh b/upstagit.sh @@ -45,7 +45,7 @@ sed -i -E -e "s,src\=\".*logo\.png\",src\=\"$LOGO_URL\",g" "$WEB_PATH/index.html sed -i -E -e "s,href\=\".*style\.css\",href\=\"$STYLE_URL\",g" "$WEB_PATH/index.html" sed -i "s,width\=\"32\" height\=\"32\",width\=\"$ICON_WIDTH\" height\=\"$ICON_HEIGHT\",g" "$WEB_PATH/index.html" sed -i "s,<table>,<table id\=\"title-head\">," "$WEB_PATH/index.html" -sed -i "s,<\/td><\/tr>,<a href\=\"$HOME_PAGE_URL\">Return Home<\/a><\/td><\/tr>," "$WEB_PATH/index.html" +sed -i "s,<\/span><\/td><\/tr>,<\/span><\/td><td><a href\=\"$HOME_PAGE_URL\">Return Home<\/a><\/td><\/tr>," "$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