[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1412369389-21815-1-git-send-email-aaro.koskinen@iki.fi>
Date: Fri, 3 Oct 2014 23:49:49 +0300
From: Aaro Koskinen <aaro.koskinen@....fi>
To: YOSHIFUJI Hideaki <hideaki.yoshifuji@...aclelinux.com>,
David Heidelberger <david.heidelberger@...t.cz>
Cc: netdev@...r.kernel.org, Aaro Koskinen <aaro.koskinen@....fi>
Subject: [PATCH iputils] iputils: use syntax compatible with busybox date in Makefile
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@....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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists