netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iputils] iputils: use syntax compatible with busybox date in Makefile
@ 2014-10-03 20:49 Aaro Koskinen
  0 siblings, 0 replies; only message in thread
From: Aaro Koskinen @ 2014-10-03 20:49 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki, David Heidelberger; +Cc: netdev, Aaro Koskinen

Use syntax compatible with busybox date in Makefile. This fixes an error
message during the build under busybox.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 54e5a6d..f5f1101 100644
--- a/Makefile
+++ b/Makefile
@@ -115,9 +115,9 @@ LDLIBS=$(LDLIB) $(ADDLIB)
 
 UNAME_N:=$(shell uname -n)
 LASTTAG:=$(shell git describe HEAD | sed -e 's/-.*//')
-TODAY=$(shell date +%Y/%m/%d)
-DATE=$(shell date --date $(TODAY) +%Y%m%d)
-TAG:=$(shell date --date=$(TODAY) +s%Y%m%d)
+TODAY=$(shell date +%Y-%m-%d)
+DATE=$(shell date -d $(TODAY) +%Y%m%d)
+TAG:=$(shell date -d $(TODAY) +s%Y%m%d)
 
 
 # -------------------------------------
-- 
2.1.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-03 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03 20:49 [PATCH iputils] iputils: use syntax compatible with busybox date in Makefile Aaro Koskinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).