summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-22 12:32:38 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-22 12:32:38 +0800
commitdea6f126fe167ed6f452bd0616de7e6bdc24369d (patch)
tree703480f25ba74743e0a5c2c0805ebc986e688653 /util
parentfdad7450c986504af7e74c66cbb5f60bb8f8e478 (diff)
downloadpttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.gz
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.bz2
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.lz
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.xz
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.zst
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.zip
move COMPILE_TIME from .mk to vers.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/newvers.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/newvers.sh b/util/newvers.sh
new file mode 100644
index 00000000..eaaff3c3
--- /dev/null
+++ b/util/newvers.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# $Id: newvers.sh,v 1.1 2003/06/22 04:32:38 in2 Exp $
+
+t=`date`
+
+cat << EOF > vers.c
+char compile_time[] = "${t}";
+EOF