diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-01 10:43:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-01 10:43:27 +0000 |
commit | 78e5e56201bf62340753708ff7b8cfc4959e34a5 (patch) | |
tree | b09d6d6d9fd6ff1fd6ec5a433b37221c45d9f168 /scripts/portable_date.sh | |
parent | 18ba1305d535290ea07adf03a567661dc9043309 (diff) | |
download | mtk-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-x | scripts/portable_date.sh | 2 |
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 $? |