Updated the build scripts to work with the new git repo.

This commit is contained in:
pandora-release 2014-09-01 18:13:26 +02:00
parent 2ac861b8d9
commit 4c4ed32007
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
CODEHOME=/root/code/pandora/trunk CODEHOME=/root/code/pandorafms
CODEHOME_ENT=/root/code/artica/code CODEHOME_ENT=/root/code/pandora_enterprise
PANDHOME_ENT=$CODEHOME_ENT/pandora/trunk PANDHOME_ENT=$CODEHOME_ENT
RPMHOME=/usr/src/packages RPMHOME=/usr/src/packages
VERSION=$(grep 'my $pandora_version =' $CODEHOME/pandora_server/lib/PandoraFMS/Config.pm | awk '{print substr($4, 2, length($4) - 3)}') 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)}') BUILD=$(grep 'my $pandora_build =' $CODEHOME/pandora_server/lib/PandoraFMS/Config.pm | awk '{print substr($4, 2, length($4) - 3)}')
X86_64=`uname -m | grep x86_64` X86_64=`uname -m | grep x86_64`
CONSOLEHOME=$CODEHOME/pandora_console CONSOLEHOME=$CODEHOME/pandora_console
CONSOLEHOME_ENT=$PANDHOME_ENT/pandora_console CONSOLEHOME_ENT=$CODEHOME_ENT/pandora_console