From 82d642dc5243cf8901c0639d2bd1667afce5045f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 14 May 2011 22:56:07 +0300 Subject: Fix fallout from BUILD_SOSL removal As set_soenv.in used to always put BUILD_SOSL="true" in the environment, we can delete the block completely that was to be executed only if BUILD_SOSL was undefined. --- solenv/bin/deliver.pl | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'solenv/bin/deliver.pl') diff --git a/solenv/bin/deliver.pl b/solenv/bin/deliver.pl index 43f826ba9ec3..990b3fa3539d 100755 --- a/solenv/bin/deliver.pl +++ b/solenv/bin/deliver.pl @@ -464,18 +464,6 @@ sub init_globals my $updater = $ENV{'UPDATER'}; my $work_stamp = $ENV{'WORK_STAMP'}; - # special security check for release engineers - if ( defined($updater) && !$opt_force) { - my $path = getcwd(); - if ( $path !~ /$work_stamp/io ) { - print_error("can't deliver from local directory to SOLARVERSION"); - print STDERR "\nDANGER! Release Engineer:\n"; - print STDERR "do you really want to deliver from $path to SOLARVERSION?\n"; - print STDERR "If so, please use the -force switch\n\n"; - exit(7); - } - } - # do we have a valid environment? if ( !defined($inpath) ) { print_error("no environment", 0); -- cgit