aboutsummaryrefslogtreecommitdiffstats
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)
downloadupstream-78e5e56201bf62340753708ff7b8cfc4959e34a5.tar.gz
upstream-78e5e56201bf62340753708ff7b8cfc4959e34a5.tar.bz2
upstream-78e5e56201bf62340753708ff7b8cfc4959e34a5.zip
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 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 $?