aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmh22@tempest.cl.cam.ac.uk <smh22@tempest.cl.cam.ac.uk>2004-12-30 19:10:23 +0000
committersmh22@tempest.cl.cam.ac.uk <smh22@tempest.cl.cam.ac.uk>2004-12-30 19:10:23 +0000
commitbb54ad678924b880ff38408ba647ecb03dfceeee (patch)
tree333ca787161b6f98fc36e8c94fa6578f74392db3
parentb320f8524542f19d81f9cc73dad93e56bb9cc549 (diff)
downloadxen-bb54ad678924b880ff38408ba647ecb03dfceeee.tar.gz
xen-bb54ad678924b880ff38408ba647ecb03dfceeee.tar.bz2
xen-bb54ad678924b880ff38408ba647ecb03dfceeee.zip
bitkeeper revision 1.1159.208.1 (41d4529f94LUvFd8n-okKHKIRqKcJw)
makefile fix from jared rhine
-rw-r--r--xen/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/Makefile b/xen/Makefile
index a5c883d51d..0c5c85e0f3 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -59,7 +59,7 @@ include/xen/compile.h:
@LANG=C echo \#define XEN_COMPILE_BY \"`whoami`\" >> $@
@LANG=C echo \#define XEN_COMPILE_DOMAIN \"`([ -x /bin/dnsdomainname ] && /bin/dnsdomainname) || ([ -x /bin/domainname ] && /bin/domainname || echo [unknown])`\" >> $@
@LANG=C echo \#define XEN_COMPILE_HOST \"`hostname`\" >> $@
- @LANG=C echo \#define XEN_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -1`\" >> $@
+ @LANG=C echo \#define XEN_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -n 1`\" >> $@
@LANG=C echo >> $@
@LANG=C echo \#define XEN_VERSION\ \ \ \ \ \ $(XEN_VERSION) >> $@
@LANG=C echo \#define XEN_SUBVERSION\ \ \ $(XEN_SUBVERSION) >> $@