From: jow Date: Mon, 1 Feb 2016 10:43:27 +0000 (+0000) Subject: scripts: fix GNU data invocation X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=bb09fe92e09170d1af8e1d577e5c596bb01d2059;p=openwrt.git scripts: fix GNU data invocation Signed-off-by: Jo-Philipp Wich git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48594 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/scripts/portable_date.sh b/scripts/portable_date.sh index 244f545a25..84b56382e0 100755 --- a/scripts/portable_date.sh +++ b/scripts/portable_date.sh @@ -5,7 +5,7 @@ case $(uname) in date -j -f "%Y-%m-%d %H:%M:%S %z" "$1" "$2" 2>/dev/null ;; *) - date -d "@$1" "$2" + date -d "$1" "$2" esac exit $?