mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Dev: Fix builds to include EOL data properly [build]
This commit is contained in:
7
.github/build/vars.sh
vendored
7
.github/build/vars.sh
vendored
@@ -18,3 +18,10 @@ cloud_upload_ssh_host="${ENV_BUILD__CLOUD_UPLOAD_SSH_HOST:-webmin.dev}"
|
|||||||
cloud_upload_ssh_dir="${ENV_BUILD__CLOUD_UPLOAD_SSH_DIR:-~/domains/builds.webmin.dev/public_html}"
|
cloud_upload_ssh_dir="${ENV_BUILD__CLOUD_UPLOAD_SSH_DIR:-~/domains/builds.webmin.dev/public_html}"
|
||||||
cloud_upload_gpg_passphrase="${WEBMIN_DEV__GPG_PH}"
|
cloud_upload_gpg_passphrase="${WEBMIN_DEV__GPG_PH}"
|
||||||
|
|
||||||
|
# Define verbosity level
|
||||||
|
verbosity_level=' >/dev/null 2>&1 </dev/null'
|
||||||
|
verbosity_level_to_file='2> /dev/null'
|
||||||
|
verbosity_level_with_input=' >/dev/null 2>&1'
|
||||||
|
if [[ "'$*'" == *"--debug"* ]]; then
|
||||||
|
unset verbosity_level verbosity_level_to_file verbosity_level_with_input
|
||||||
|
fi
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ else {
|
|||||||
# Build EOL data
|
# Build EOL data
|
||||||
if (-r "./webmin/os-eol-lib.pl") {
|
if (-r "./webmin/os-eol-lib.pl") {
|
||||||
print "Building OS EOL data\n";
|
print "Building OS EOL data\n";
|
||||||
system("./os-eol.pl");
|
system("./os-eol-make.pl");
|
||||||
}
|
}
|
||||||
|
|
||||||
# Prepare dist files
|
# Prepare dist files
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
#!/usr/local/bin/perl
|
#!/usr/local/bin/perl
|
||||||
# Build EOL data JSON file
|
# Build EOL data JSON file
|
||||||
|
|
||||||
|
if ($0 =~ /^(.*)\//) {
|
||||||
|
chdir($1);
|
||||||
|
}
|
||||||
do "./web-lib-funcs.pl";
|
do "./web-lib-funcs.pl";
|
||||||
do "./webmin/os-eol-lib.pl";
|
do "./webmin/os-eol-lib.pl";
|
||||||
&eol_build_all_os_data("./os_eol.json");
|
&eol_build_all_os_data("./os_eol.json");
|
||||||
Reference in New Issue
Block a user