alpine/alpine-timestamp.patch

28 lines
1.0 KiB
Diff
Raw Normal View History

Index: alpine-2.20/alpine/Makefile.am
===================================================================
--- alpine-2.20.orig/alpine/Makefile.am
+++ alpine-2.20/alpine/Makefile.am
@@ -48,5 +48,5 @@ AM_LDFLAGS = `cat @top_srcdir@/c-client/
CLEANFILES = date.c
date.c:
- echo "char datestamp[]="\"`date`\"";" > date.c
- echo "char hoststamp[]="\"`hostname`\"";" >> date.c
+ echo 'char datestamp[]="today";' > date.c
+ echo 'char hoststamp[]="sand";' >> date.c
Index: alpine-2.20/alpine/Makefile.in
===================================================================
--- alpine-2.20.orig/alpine/Makefile.in
+++ alpine-2.20/alpine/Makefile.in
@@ -888,8 +888,8 @@ uninstall-am: uninstall-binPROGRAMS
date.c:
- echo "char datestamp[]="\"`date`\"";" > date.c
- echo "char hoststamp[]="\"`hostname`\"";" >> date.c
+ echo 'char datestamp[]="today";' > date.c
+ echo 'char hoststamp[]="sand";' >> date.c
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.