Commit 42158609 authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

added information if lsb_release isn't installed on OS

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3930
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 50723467
......@@ -260,6 +260,10 @@ $(TMPPATH)/README.system:
echo -e "\nHost and kernel:" >> $@
uname -a 2>&1 >> $@
echo -e "\nOperating system:" >> $@
if ! type lsb_release &> /dev/null; \
then echo -e "The program lsb_release wasn't installed." >> $@; \
echo -e "No information provided." >> $@; \
fi
-lsb_release -a 2>&1 >> $@
echo -e "\nCompilers:" >> $@
(echo -n "$(CC): "; $(CC) --version) 2>&1 | head -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