Skip to contentSkip to conversation

2.4.0-test13pre4ac2 fix net/irda/irnet/Config.in: 1: bad if condition

PATCH New Steven Cole 1 participant 1 message Dec 23, 2000 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.0-test13pre4ac2 fix net/irda/irnet/Config.in: 1: bad if condition

I get the following error with 2.4.0-test13-pre4-ac2:

[root@localhost linux-2.4.0-test13-pre4-ac2]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.0-test13-pre4-ac2/scripts' cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk net/irda/irnet/Config.in: 1: bad if condition
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.0-test13-pre4-ac2/scripts'
make: *** [xconfig] Error 2

Here is a patch to fix it:
Steven

net/irda/irnet/Config.in Fri Dec 22 21:16:29 2000 renamed from net/irda/irnet/Config.in.orig Fri Dec 22 20:36:16 2000 +1 -1
diff -u linux/net/irda/irnet/Config.in.orig linux/net/irda/irnet/Config.in
@@ -1,4 +1,4 @@
-if [ $CONFIG_NETDEVICES != "n" ]; then
+if [ "$CONFIG_NETDEVICES" != "n" ]; then
    dep_tristate '  IrNET protocol' CONFIG_IRNET $CONFIG_IRDA $CONFIG_PPP
 fi
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/