Updated logic to check for current awips version
This commit is contained in:
parent
1b84a3eb28
commit
669ab4a63e
1 changed files with 2 additions and 3 deletions
|
@ -5,10 +5,9 @@
|
|||
$ndmGitPath = "rpms/awips2.edex/Installer.edex/ndm/";
|
||||
|
||||
#get the current branch/version of awips2
|
||||
$version = `grep AWIPSII_VERSION /awips2/repo/awips2/build/buildEnvironment.sh`;
|
||||
$version = `rpm -qa | grep awips2-[12]`;
|
||||
chomp $version;
|
||||
@split = split(/"/,$version);
|
||||
|
||||
@split=split(/-/,$version);
|
||||
$branch = "unidata_$split[1]";
|
||||
|
||||
#Check if ndm location has been created
|
||||
|
|
Loading…
Add table
Reference in a new issue