summaryrefslogtreecommitdiff
path: root/scripts/portable_date.sh
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
commit78e5e56201bf62340753708ff7b8cfc4959e34a5 (patch)
treeb09d6d6d9fd6ff1fd6ec5a433b37221c45d9f168 /scripts/portable_date.sh
parent18ba1305d535290ea07adf03a567661dc9043309 (diff)
downloadmtk-20170518-78e5e56201bf62340753708ff7b8cfc4959e34a5.zip
mtk-20170518-78e5e56201bf62340753708ff7b8cfc4959e34a5.tar.gz
mtk-20170518-78e5e56201bf62340753708ff7b8cfc4959e34a5.tar.bz2
scripts: fix GNU data invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48594
Diffstat (limited to 'scripts/portable_date.sh')
-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 244f545..84b5638 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 $?