patch-2.4.10 linux/scripts/mkversion
Next file: linux/scripts/ver_linux
Previous file: linux/scripts/mkspec
Back to the patch index
Back to the overall index
- Lines: 7
- Date:
Mon Sep 17 23:04:05 2001
- Orig file:
v2.4.9/linux/scripts/mkversion
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.4.9/linux/scripts/mkversion linux/scripts/mkversion
@@ -0,0 +1,6 @@
+if [ ! -f .version ]
+then
+ echo 1
+else
+ expr 0`cat .version` + 1
+fi
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)