SHA256
1
0
forked from pool/alpine
alpine/alpine-timestamp.patch

49 lines
1.7 KiB
Diff
Raw Normal View History

---
alpine/Makefile | 4 ++--
alpine/Makefile.am | 4 ++--
alpine/Makefile.in | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
Index: alpine-2.20/alpine/Makefile
===================================================================
--- alpine-2.20.orig/alpine/Makefile
+++ alpine-2.20/alpine/Makefile
@@ -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.
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.