Neutral internal variable names for runner

This commit is contained in:
Clemens Schwaighofer
2026-08-18 12:33:03 +09:00
parent 0bb69d7168
commit 62bb6a59e1
3 changed files with 16 additions and 16 deletions
+6 -6
View File
@@ -39,13 +39,13 @@ if [ ! -f "${target_file}" ]; then
echo "[!] There is no gitea target file at ${target_file}. Is gitea installed?";
gitea_exists=0;
fi;
target_file_gitea_runner="/usr/local/bin/gitea-runner";
gitea_runner_exists=1
if [ ! -f "${target_file_gitea_runner}" ]; then
echo "[!] There is no gitea runner target file at ${target_file_gitea_runner}. Is gitea runner installed?";
gitea_runner_exists=0
target_file_runner="/usr/local/bin/gitea-runner";
runner_exists=1
if [ ! -f "${target_file_runner}" ]; then
echo "[!] There is no gitea runner target file at ${target_file_runner}. Is gitea runner installed?";
runner_exists=0
fi;
export arch target_file gitea_exists gitea_runner_exists;
export arch target_file gitea_exists runner_exists;
# __END__