From 997f48dddfeb276fbff555983587e769ca45c08d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 12 Mar 2016 10:49:56 -0300 Subject: Newer systems are masterless --- lib/hydra/misc | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/hydra/misc b/lib/hydra/misc index f56fdda..d8dfb3b 100644 --- a/lib/hydra/misc +++ b/lib/hydra/misc @@ -2,6 +2,7 @@ # Set needed environment variables and do basic checks function hydra_set_env { + export OSVERSION="`cut -d . -f 1 /etc/debian_version`" export COMMIT="`( cd $APP_BASE && git log -n 1 --pretty=oneline 2> /dev/null | cut -d " " -f 1 )`" export CONFIG="$HOME/.hydra/config" export ACTION="$1" -- cgit v1.2.3