aboutsummaryrefslogtreecommitdiff
path: root/lib/hydra/misc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-12 10:49:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-12 10:49:56 -0300
commit997f48dddfeb276fbff555983587e769ca45c08d (patch)
tree5f013f98f9b52587087e007b3fa9cc9e6ad7b437 /lib/hydra/misc
parent260408a2cdb337d0c5694e4c94ef2f9a810808b4 (diff)
downloadhydra-997f48dddfeb276fbff555983587e769ca45c08d.tar.gz
hydra-997f48dddfeb276fbff555983587e769ca45c08d.tar.bz2
Newer systems are masterless
Diffstat (limited to 'lib/hydra/misc')
-rw-r--r--lib/hydra/misc1
1 files changed, 1 insertions, 0 deletions
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"