From patchwork Fri Oct 3 20:49:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaro Koskinen X-Patchwork-Id: 396447 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 37F1B14011B for ; Sat, 4 Oct 2014 06:59:04 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751064AbaJCU67 (ORCPT ); Fri, 3 Oct 2014 16:58:59 -0400 Received: from filtteri1.pp.htv.fi ([213.243.153.184]:51150 "EHLO filtteri1.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750780AbaJCU66 (ORCPT ); Fri, 3 Oct 2014 16:58:58 -0400 X-Greylist: delayed 523 seconds by postgrey-1.27 at vger.kernel.org; Fri, 03 Oct 2014 16:58:58 EDT Received: from localhost (localhost [127.0.0.1]) by filtteri1.pp.htv.fi (Postfix) with ESMTP id 62A9921B8B0; Fri, 3 Oct 2014 23:50:14 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at pp.htv.fi Received: from smtp6.welho.com ([213.243.153.40]) by localhost (filtteri1.pp.htv.fi [213.243.153.184]) (amavisd-new, port 10024) with ESMTP id qGDuWgPaXY9t; Fri, 3 Oct 2014 23:50:07 +0300 (EEST) Received: from cooljazz.bb.dnainternet.fi (91-145-91-118.bb.dnainternet.fi [91.145.91.118]) by smtp6.welho.com (Postfix) with ESMTP id B986C5BC007; Fri, 3 Oct 2014 23:50:07 +0300 (EEST) From: Aaro Koskinen To: YOSHIFUJI Hideaki , David Heidelberger Cc: netdev@vger.kernel.org, Aaro Koskinen Subject: [PATCH iputils] iputils: use syntax compatible with busybox date in Makefile Date: Fri, 3 Oct 2014 23:49:49 +0300 Message-Id: <1412369389-21815-1-git-send-email-aaro.koskinen@iki.fi> X-Mailer: git-send-email 2.1.2 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Use syntax compatible with busybox date in Makefile. This fixes an error message during the build under busybox. Signed-off-by: Aaro Koskinen --- 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) # -------------------------------------