mirror of
https://github.com/webmin/webmin.git
synced 2026-06-28 23:10:26 +01:00
Dev: Fork it! [build]
This commit is contained in:
11
makedist.pl
11
makedist.pl
@@ -1,6 +1,6 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Builds a tar.gz package of a specified Webmin version
|
||||
use Cwd 'abs_path', 'getcwd';
|
||||
|
||||
if ($0 =~ /^(.*)\//) {
|
||||
chdir($1);
|
||||
}
|
||||
@@ -88,14 +88,7 @@ else {
|
||||
# Build EOL data
|
||||
if (-r "./webmin/os-eol-lib.pl") {
|
||||
print "Building OS EOL data\n";
|
||||
print "Before do: ", getcwd(), "\n";
|
||||
do "./web-lib-funcs.pl";
|
||||
print "After do 1: ", getcwd(), "\n";
|
||||
do "./webmin/os-eol-lib.pl";
|
||||
print "After do 2: ", getcwd(), "\n";
|
||||
&eol_build_all_os_data("./os_eol.json");
|
||||
print "After run 1: ", getcwd(), "\n";
|
||||
print &backquote_command("cat ./os_eol.json");
|
||||
system("./os-eol.pl");
|
||||
}
|
||||
|
||||
# Prepare dist files
|
||||
|
||||
Reference in New Issue
Block a user