[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] patch:XaAES:xversion



-------------------------------------------------------------
minor improvement in determining build-date
-------------------------------------------------------------

diff -u -B -I '$Id' src.cvs/xversion.sh src.km/xversion.sh
--- src.cvs/xversion.sh	2010-01-12 19:43:00.875000000 +0100
+++ src.km/xversion.sh	2010-01-12 19:21:56.781250000 +0100
@@ -1,13 +1,16 @@
 #find newest source-file and generate xversion.h with BDATETIME accordingly
-N=xversion.h
-for i in *.c *.h
-do
-	if [ $i -nt $N ]
-	then
-		N=$i
-	fi
-done
+#N=xversion.h
+#for i in *.c *.h
+#do
+#	if [ $i -nt $N ]
+#	then
+#		N=$i
+#	fi
+#done
 #echo $N
+
+#set BDATETIME to date of .
+N=.
 if [ $N -nt xversion.h ]
 then
 	D=`date -r $N "+%b %e %Y %H:%M"`