From 05b3827e3cdd6c48c3a6ac02699904f833167fe6 Mon Sep 17 00:00:00 2001 From: GnomeZworc Date: Thu, 18 Dec 2025 14:09:37 +0100 Subject: [PATCH] f-1: fix: fix forgeten args #1 Signed-off-by: GnomeZworc --- scripts/deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 9fcd1dd..3345488 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -24,6 +24,7 @@ check_latest_script () { } main () { + echo "$@" [[ -f ./libs/shflags ]] && . ./libs/shflags || eval "$(curl --silent https://git.g3e.fr/H6N/tools/raw/branch/main/libs/shflags)" DEFINE_boolean 'dryrun' false 'Enable dry-run mode' 'd' @@ -31,6 +32,9 @@ main () { DEFINE_string 'repo_path' 'syonad/two/' 'Path of repository' 'r' DEFINE_string 'branch' 'main/' 'Branch name' 'b' + FLAGS "$@" || exit $? + eval set -- "${FLAGS_ARGV}" + check_latest_script "${FLAGS_git_server}${FLAGS_repo_path}raw/branch/${FLAGS_branch}${SCRIPT_PATH}" "${0}" }