# | Line 15 | Line 15 | $uname=`uname -a`; | |
---|---|---|
15 | # SunOS - | |
16 | # | |
17 | if ( $OSname=~SunOS ) { | |
18 | < | $OSversion=~s/^(.\..)\.*/\1/; #Retain only the first two version digits |
18 | > | $OSversion=~s/^(.\..)\..*/\1/; #Retain only the first two version digits |
19 | } | |
20 | + | # |
21 | + | # Linux - |
22 | + | # |
23 | + | if ( $OSname=~Linux ) { |
24 | + | $OSversion=~s/^(.\..)\..*/\1/; #Retain only the first two version digits |
25 | + | } |
26 | + | |
27 | # simply set to OS type and version | |
28 | $ENV{SCRAM_ARCH}="${OSname}__${OSversion}"; | |
29 | #print "Setting Architecture to $ENV{SCRAM_ARCH}\n"; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |