scriptitems.pm (86e1cf34) | scriptitems.pm (f8d20be8) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 20 unchanged lines hidden (view full) --- 29use installer::globals; 30use installer::languages; 31use installer::logger; 32use installer::pathanalyzer; 33use installer::remover; 34use installer::systemactions; 35 36use File::Spec; | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 20 unchanged lines hidden (view full) --- 29use installer::globals; 30use installer::languages; 31use installer::logger; 32use installer::pathanalyzer; 33use installer::remover; 34use installer::systemactions; 35 36use File::Spec; |
37use SvnRevision; | 37use RepoRevision; |
38use ExtensionsLst; 39 40use strict; 41 42################################################################ 43# Resolving the GID for the directories defined in setup script 44################################################################ 45 --- 941 unchanged lines hidden (view full) --- 987 988 my $productname = $hashref->{'PRODUCTNAME'}; 989 my $productversion = $hashref->{'PRODUCTVERSION'}; 990 my $userdirproductversion = ""; 991 if ( $hashref->{'USERDIRPRODUCTVERSION'} ) { $userdirproductversion = $hashref->{'USERDIRPRODUCTVERSION'}; } 992 my $productkey = $productname . " " . $productversion; 993 994 my $scsrevision; | 38use ExtensionsLst; 39 40use strict; 41 42################################################################ 43# Resolving the GID for the directories defined in setup script 44################################################################ 45 --- 941 unchanged lines hidden (view full) --- 987 988 my $productname = $hashref->{'PRODUCTNAME'}; 989 my $productversion = $hashref->{'PRODUCTVERSION'}; 990 my $userdirproductversion = ""; 991 if ( $hashref->{'USERDIRPRODUCTVERSION'} ) { $userdirproductversion = $hashref->{'USERDIRPRODUCTVERSION'}; } 992 my $productkey = $productname . " " . $productversion; 993 994 my $scsrevision; |
995 $scsrevision = "" unless ( $scsrevision = SvnRevision::DetectRevisionId(File::Spec->catfile($ENV{'SRC_ROOT'}, File::Spec->updir())) ); | 995 $scsrevision = "" unless ( $scsrevision = RepoRevision::DetectRevisionId(File::Spec->catfile($ENV{'SRC_ROOT'}, File::Spec->updir())) ); |
996 997 # string $buildid, which is used to replace the setup variable <buildid> 998 999 my $localminor = "flat"; 1000 if ( $installer::globals::minor ne "" ) { $localminor = $installer::globals::minor; } 1001 else { $localminor = $installer::globals::lastminor; } 1002 1003 my $localbuild = $installer::globals::build; --- 2136 unchanged lines hidden --- | 996 997 # string $buildid, which is used to replace the setup variable <buildid> 998 999 my $localminor = "flat"; 1000 if ( $installer::globals::minor ne "" ) { $localminor = $installer::globals::minor; } 1001 else { $localminor = $installer::globals::lastminor; } 1002 1003 my $localbuild = $installer::globals::build; --- 2136 unchanged lines hidden --- |