Comment 2 for bug 586517

Revision history for this message
alien8 (fb-alien8) wrote :

Hi,

The simple fix is to delete this one "-f" in the referenced "if [ -f -f include/generated/compile.h ]; then \ <<<<==== this line is the error" line. So the line reads:
if [ -f include/generated/compile.h ]; then \

I also can confirm that this bug doesn't exist in the Desktop version. Strange. I run into it on Ubuntu Server amd64.

- a8

PS: To say it in diff:

--- common.mk 2010-09-01 23:33:31.000000000 +0200
+++ common.mk.new 2010-09-01 23:34:09.000000000 +0200
@@ -336,7 +336,7 @@
        @echo this was built on a machine with the kernel: >> debian/stamp/build/info
        uname -a >> debian/stamp/build/info
        echo using the compiler: >> debian/stamp/build/info
- if [ -f -f include/generated/compile.h ]; then \
+ if [ -f include/generated/compile.h ]; then \
           grep LINUX_COMPILER include/generated/compile.h | \
             sed -e 's/.*LINUX_COMPILER "//' -e 's/"$$//' >> \
                debian/stamp/build/info;