Return to repo list


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

commit 7c447f04fec1b713f249495e091f9c79666c4625
parent c4a6eb0fd7bd3d70b0a47994de64397b73719c28
Author: Erik Letson <>
Date:   Fri,  3 Jul 2020 15:28:47 -0500

fix sed regexp for finding resources

Diffstat: | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ b/ @@ -37,8 +37,8 @@ sed -i 's,<td><b>Owner<\/b><\/td>,<td><\/td>,g' "$WEB_PATH/index.html" for j in $(ls $REPO_PATH); do for k in $(ls -R -a1 $WEB_PATH/* | find $WEB_PATH | grep ".html$"); do - sed -i -E -e "s,\=\"(\.\.\/)*logo\.png\",\=\"$LOGO_URL\",g" "$k" - sed -i -E -e "s,\=\"(\.\.\/)*style\.css\",\=\"$STYLE_URL\",g" "$k" + sed -i -E -e "s,\=\"\(\.\.\/\)*logo\.png\",\=\"$LOGO_URL\",g" "$k" + 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" done done