From e6ce238bf488edc653dc429324e14ab4e70052db Mon Sep 17 00:00:00 2001 From: belliash Date: Tue, 3 Jan 2012 10:39:34 +0100 Subject: [PATCH] Add basic activities into executables --- ezbuild | 9 +++++++++ ezsync | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/ezbuild b/ezbuild index 7437114..a9d1184 100755 --- a/ezbuild +++ b/ezbuild @@ -3,5 +3,14 @@ # Distributed under the terms of the GNU General Public License v3 +# Declare basic system variables EZNAME=$(basename ${0}) EZROOT=$(dirname $(readlink -ne ${0})) + +# Load necessary files +source /etc/profile +source ${EZROOT}/libraries/common + +# Load EzBuild libraries & configuration +loadLibraries +loadConfiguration diff --git a/ezsync b/ezsync index 7437114..a9d1184 100755 --- a/ezsync +++ b/ezsync @@ -3,5 +3,14 @@ # Distributed under the terms of the GNU General Public License v3 +# Declare basic system variables EZNAME=$(basename ${0}) EZROOT=$(dirname $(readlink -ne ${0})) + +# Load necessary files +source /etc/profile +source ${EZROOT}/libraries/common + +# Load EzBuild libraries & configuration +loadLibraries +loadConfiguration