patch-2.3.99-pre4 linux/scripts/Menuconfig
Next file: linux/scripts/checkincludes.pl
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Apr 2 17:28:22 2000
- Orig file:
v2.3.99-pre3/linux/scripts/Menuconfig
- Orig date:
Sun Feb 20 21:12:40 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/scripts/Menuconfig linux/scripts/Menuconfig
@@ -404,7 +404,7 @@
$DIALOG --backtitle "$backtitle" \
--textbox help.out $ROWS $COLS
fi
- rm help.out
+ rm -f help.out
}
#
@@ -1362,7 +1362,7 @@
DIALOG="./scripts/lxdialog/lxdialog"
-kernel_version="${VERSION}.${PATCHLEVEL}.${SUBLEVEL}"
+kernel_version="${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}"
backtitle="Linux Kernel v$kernel_version Configuration"
@@ -1450,4 +1450,10 @@
echo Your kernel configuration changes were NOT saved.
echo
fi
+
+# Remove log if empty.
+if [ ! -s .menuconfig.log ] ; then
+ rm -f .menuconfig.log
+fi
+
exit 0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)