File: prosspec.sh

package info (click to toggle)
afbackup 3.1beta1-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,500 kB
  • ctags: 1,685
  • sloc: ansic: 22,406; csh: 3,597; tcl: 964; sh: 403; makefile: 200
file content (16 lines) | stat: -rwxr-xr-x 160 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

OS="`uname -s`"

if [ $OS = "AIX" ] ; then
  VERSION=`uname -vr`
else
  VERSION=`uname -r`
fi

OSSPEC="$OS $VERSION"
 
export OSSPEC

echo $OSSPEC