Skip to content

Commit

Permalink
add comments on why $EB_VERSION and $PYTHON_VERSION are being defined
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Nov 8, 2016
1 parent d66d1b4 commit a73cec4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/dev-tools/easybuild/SPECS/easybuild.spec
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ export EASYBUILD_BOOTSTRAP_SOURCEPATH=%{_sourcedir}
export EASYBUILD_BOOTSTRAP_DEBUG=1
export DEBUG_EASYBUILD_OPTIONS=1
export EASYBUILD_INSTALLPATH=%{install_path}
export EB_VERSION=%{version}
export PATH=${LMOD_DIR}:${PATH}
# note: $EB_VERSION and $PYTHON_VERSION are only required because of bootstrap_eb.py-apply-patch.patch
export EB_VERSION=%{version}
export PYTHON_VERSION=`python -c 'print ".".join(map(str, __import__("sys").version_info[:2]))'`

MODULEPATH= python ./bootstrap_eb.py %{buildroot}/%{install_path}
Expand Down

0 comments on commit a73cec4

Please sign in to comment.