pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit 898fb5fa2a788cc10522a009a8d1ffe37d9d7e87
parent c23fa2677ef958023c49303eea32343efcab8edd
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat, 15 Jun 2024 20:27:49 +0200

fix: extract url if possible

Diffstat:
Mbin/git_export_tarball.sh | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/bin/git_export_tarball.sh b/bin/git_export_tarball.sh @@ -22,6 +22,11 @@ fi # Git-Repository cd "${1}/${2}/${3}.git" || exit 1; +# Retrieve URL if set +if [ -f "${1}/url" ]; then + URL=`cat ${1}/url` +fi + for REF in $@; do # skip first three parameters