summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/download.pm
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/modules/installer/download.pm')
-rw-r--r--solenv/bin/modules/installer/download.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm
index d1e74bd93294..0fee1c7dc4d5 100644
--- a/solenv/bin/modules/installer/download.pm
+++ b/solenv/bin/modules/installer/download.pm
@@ -192,7 +192,9 @@ sub call_sum
sub get_path_for_library
{
- return $ENV{'WORKDIR'} . '/LinkTarget/Library/libgetuid.so';
+ my $getuidlibrary = $ENV{'WORKDIR'} . '/LinkTarget/Library/libgetuid.so';
+ if ( ! -e $getuidlibrary ) { installer::exiter::exit_program("File $getuidlibrary does not exist!", "get_path_for_library"); }
+ return $getuidlibrary;
}
#########################################################