Commit 8913cc01 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: get version from the spec if running from git repo

parent f4f02376
......@@ -35,6 +35,10 @@ CONFIGDIR=$PROGDIR/../etc
EPMVERSION="@VERSION@"
if [ "$EPMVERSION" = "@VERSION@" ] ; then
EPMVERSION=$(head $PROGDIR/../eepm.spec | grep "^Version: " | sed -e 's|Version: ||' )
fi
load_helper()
{
local CMD="$SHAREDIR/$1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment