aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2016-02-01 10:43:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2016-02-01 10:43:27 +0000
commit9e998f0970beda720447098999f1f1ab3f7ef252 (patch)
tree4fa15bc4533bf98af91217d84af00818af526265 /scripts
parent4473a10ef2b52870171e758c61568e7e4dcca542 (diff)
downloadmaster-187ad058-9e998f0970beda720447098999f1f1ab3f7ef252.tar.gz
master-187ad058-9e998f0970beda720447098999f1f1ab3f7ef252.tar.bz2
master-187ad058-9e998f0970beda720447098999f1f1ab3f7ef252.zip
scripts: fix GNU data invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48594 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/portable_date.sh2
1 files changed, 1 insertions, 1 deletions
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 $?