|
Line 0
Link Here
|
|
|
1 |
--- build-info.orig 1993-10-21 21:29:05 UTC |
| 2 |
+++ build-info |
| 3 |
@@ -3,32 +3,16 @@ |
| 4 |
|
| 5 |
# try to find out the build date |
| 6 |
|
| 7 |
-if [ -x /bin/date ]; then |
| 8 |
- date='char *BuildDate= "'`/bin/date`'";' |
| 9 |
-else |
| 10 |
date='char *BuildDate= (char *)0;' |
| 11 |
-fi |
| 12 |
|
| 13 |
# try to find out who's doing the build. there are two common places |
| 14 |
# for 'id', /bin/id and /usr/bin/id. |
| 15 |
|
| 16 |
-if [ -x /bin/id ]; then |
| 17 |
- user='char *BuildUser= "'`/bin/id`'";' |
| 18 |
-else |
| 19 |
- if [ -x /usr/bin/id ]; then |
| 20 |
- user='char *BuildUser= "'`/usr/bin/id`'";' |
| 21 |
- else |
| 22 |
user='char *BuildUser= (char *)0;' |
| 23 |
- fi |
| 24 |
-fi |
| 25 |
|
| 26 |
# try to find out the system information |
| 27 |
|
| 28 |
-if [ -x /bin/uname ]; then |
| 29 |
- uname='char *BuildSystem= "'`/bin/uname -a`'";' |
| 30 |
-else |
| 31 |
- uname='char *BuildSystem= "<unknown system>";' |
| 32 |
-fi |
| 33 |
+ uname='char *BuildSystem= "FreeBSD";' |
| 34 |
|
| 35 |
echo '/* THIS FILE IS AUTOMATICALLY GENERATED */' > build.c |
| 36 |
echo $uname >> build.c |