9 lines
540 B
Bash
9 lines
540 B
Bash
#!/bin/bash
|
|
CODEHOME=/root/code/pandora/trunk
|
|
CODEHOME_ENT=/root/code/artica/code
|
|
PANDHOME_ENT=$CODEHOME_ENT/pandora/trunk
|
|
RPMHOME=/usr/src/packages
|
|
VERSION=$(grep 'my $pandora_version =' $CODEHOME/pandora_server/lib/PandoraFMS/Config.pm | awk '{print substr($4, 2, length($4) - 3)}')
|
|
BUILD=$(grep 'my $pandora_build =' $CODEHOME/pandora_server/lib/PandoraFMS/Config.pm | awk '{print substr($4, 2, length($4) - 3)}')
|
|
KEYGEN_VERSION=$(grep "%define version" $CODEHOME_ENT/updatemanager/keygen/pandora/pandora_keygen.spec | awk '{print $3}')
|