Fix require ordering for read_env

This commit is contained in:
Steve McIntyre 2012-06-05 14:20:06 +00:00
parent 6686e2c66c
commit faf4b2a97c
1 changed files with 2 additions and 2 deletions

View File

@ -37,6 +37,8 @@ $archlist = shift;
$mkisofs = shift; $mkisofs = shift;
$mkisofs_base_opts = shift; $mkisofs_base_opts = shift;
require "$basedir/tools/link.pl";
my $iso_blksize = 2048; my $iso_blksize = 2048;
my $log_opened = 0; my $log_opened = 0;
my $old_split = $/; my $old_split = $/;
@ -46,8 +48,6 @@ my $symlink_farm = read_env('SYMLINK', 0);
my $link_verbose = read_env('VERBOSE', 0); my $link_verbose = read_env('VERBOSE', 0);
my $link_copy = read_env('COPYLINK', 0); my $link_copy = read_env('COPYLINK', 0);
require "$basedir/tools/link.pl";
# MAXCDS is the hard limit on the MAXIMUM number of images to # MAXCDS is the hard limit on the MAXIMUM number of images to
# make. MAXJIGDOS and MAXISOS can only make this number smaller; we # make. MAXJIGDOS and MAXISOS can only make this number smaller; we
# will use the higher of those 2 numbers as the last image to go to, # will use the higher of those 2 numbers as the last image to go to,