git-repo

Tools for sharing git bare repositories
git clone git://git.meso-star.fr/git-repo.git
Log | Files | Refs | README | LICENSE

commit 929c9306544cdb042dc49f27b51f37021beaa268
parent 4e05a627f1e54e0236f5a9a83032cf86aa1593cb
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 26 May 2025 21:18:04 +0200

git-publish: correction of links to HTML resources

Make them _really_ relative, as already planned in commit 4e05a62.  But
the paths were extended by the shell. They are now protected by single
quotes.

Diffstat:
Mgit-publish | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/git-publish b/git-publish @@ -94,10 +94,10 @@ publish_repo() # Generate HTML pages for the repository to be published cd "${repo_www}" stagit -c .cache -u "${base_url}/${repo_name}/" "${repo_git}" - ln -sf ./log.html ./index.html - ln -sf ../style.css ./style.css - ln -sf ../logo.png ./logo.png - ln -sf ../favicon.png ./favicon.png + ln -sf './log.html' ./index.html + ln -sf '../style.css' ./style.css + ln -sf '../logo.png' ./logo.png + ln -sf '../favicon.png' ./favicon.png cd "${OLDPWD}" }