Return to repo list

remgit-scripts

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

commit 57cedf33c2beb865403e2961cbc57bc428cfc970
parent da7df888bdb58000dc8313e5c99597208c2fba24
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Tue, 14 Jul 2020 19:13:50 -0500

unset in upstagit.sh

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

diff --git a/upstagit.sh b/upstagit.sh @@ -35,6 +35,7 @@ for i in $(ls $REPO_PATH); do fi $STAGIT_COM $REPO_PATH/$old_i done +unset i # Update index.html cd $WEB_PATH @@ -58,7 +59,9 @@ for j in $(ls $REPO_PATH); do sed -i "0,/<\/td><\/tr>/{s,<\/td><\/tr>,<\/td><td><a href\=\"$HOME_PAGE_URL\">$HOME_LINK_TEXT<\/a><\/td><\/tr>,}" "$k" sed -i "0,/<td><\/td><td>/{s,<td><\/td><td>,<td><\/td><td id\=\"repolinks\">,}" "$k" done + unset k done +unset j # Set correct ownership rights chown -R $WEB_USER:$WEB_USER $WEB_PATH