Order and improve status pages
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
2024-08-14 11:49:14 +02:00
parent 0746034e56
commit e6dea9e42d
20 changed files with 441 additions and 296 deletions

View File

@@ -70,12 +70,12 @@ if [ -z "$inc_arguments" ]; then
readonly basedir="${basedir:+$(realpath "$basedir")}"
readonly domain="${domain:-www.fsfe.org}"
readonly command
if [ "$stagedir" != "$target" ] && printf %s "$target" |egrep -q '^.+@.+:(.+)?$'; then
if [ "$stagedir" != "$target" ] && printf %s "$target" | egrep -q '^.+@.+:(.+)?$'; then
readonly target
else
readonly target="${target:+$(realpath "$target")}"
fi
case "$command" in
build_into) [ -z "$target" ] && die "Missing destination directory" ;;
git_build_into) [ -z "$target" ] && die "Missing destination directory" ;;