Return to repo list

remgit-scripts

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

commit a4d57cc65b0c6bc21029d8f8a83a7c3ea06bddbc
parent 5641b80169148795ae57af3c1421b8c0642d94c2
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Sun,  5 Jul 2020 15:11:31 -0500

first stab at git clone link sed script

Diffstat:
Mupstagit.sh | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/upstagit.sh b/upstagit.sh @@ -54,6 +54,7 @@ for j in $(ls $REPO_PATH); do sed -i -E -e "s,\=\"\(\.\.\/\)*style\.css\",\=\"$STYLE_URL\",g" "$k" sed -i "s,width\=\"32\" height\=\"32\",width\=\"$ICON_WIDTH\" height=\=\"$ICON_HEIGHT\",g" "$k" sed -i "s,<table>,<table id\=\"title-head\">," "$k" + sed -i "s,<\/a><\/td><\/tr><\/table>,<\/a> \| <a href\=\"git\:\/\/git\.hmagellan\.com\/$k\.git\">git clone git\:\/\/git\.hmagellan\.com\/$k\.git<\/a><\/td><\/tr><\/table>," "$k" done done