ezbuild/ezbuild

22 lines
548 B
Plaintext
Raw Normal View History

#!/bin/bash
2012-01-03 11:29:52 +01:00
# Copyright 2010-2012, Asio Software Technologies
2011-12-29 14:29:24 +01:00
# Distributed under the terms of the GNU General Public License v3
2011-12-27 16:34:26 +01:00
2012-01-03 10:39:34 +01:00
# Declare basic system variables
2011-12-27 16:34:26 +01:00
EZNAME=$(basename ${0})
EZROOT=$(dirname $(readlink -ne ${0}))
2012-01-03 10:39:34 +01:00
# Load necessary files
source /etc/profile
source ${EZROOT}/libraries/common
# Load EzBuild libraries & configuration
loadLibraries
loadConfiguration
# Check system requirements
printInfo "Checking system prerequisites..."
checkPrerequisites
[ ${?} -ne 0 ] && die "Your environment does not meet EzBuild requirements"