definitions_debian.sh 635 Bytes
Newer Older
1
export ARCH=amd64
2 3
export DISTRO=$(lsb_release -c | cut -f2)

4 5 6
export PYTHONEXE=/usr/bin/python
# The sed -i"" is compulsory other crashes on macos
export SED_I_COMMAND='sed -i'
7
export MDANSE_SOURCE_DIR=$(pwd)
Remi Perenon's avatar
Debug  
Remi Perenon committed
8
export MDANSE_TEMPORARY_INSTALLATION_DIR=${MDANSE_SOURCE_DIR}/BuildServer/Unix/Build_Debian
9 10 11
export PYTHONPATH=${MDANSE_TEMPORARY_INSTALLATION_DIR}/lib/python2.7/site-packages/:${PYTHONPATH}
export RED="\\033[1;31m"
export BLUE="\\033[1;34m"
12
export NORMAL="\\033[0m"
13 14 15 16 17

# Get revision number from Git
export MDANSE_GIT_CURRENT_COMMIT=$(git rev-parse --short HEAD)
# Get commit branch from Gitlab
export MDANSE_GIT_BRANCH_NAME="$1"