Skip to content
Snippets Groups Projects
Commit 547eff48 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #9048: Make versiondocker findable at configure time

parent 583cf1bf
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
# Make sure we obtain info about the project source! # Make sure we obtain info about the project source!
#PATH=$PATH:. #PATH=$PATH:.
VERSION_INFO=`versiondocker` VERSION_INFO=`(versiondocker || ./versiondocker) 2>/dev/null` # in cmake, executable is in .
# Extract branch name w.r.t. repository root, e.g. branches/LOFAR-Task1234 # Extract branch name w.r.t. repository root, e.g. branches/LOFAR-Task1234
export LOFAR_BRANCH_NAME=`echo "$VERSION_INFO" | perl -ne 'print "$1" if /branch += +(.+)/;'` export LOFAR_BRANCH_NAME=`echo "$VERSION_INFO" | perl -ne 'print "$1" if /branch += +(.+)/;'`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment