projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ba130
)
scripts: fix GNU data invocation
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 1 Feb 2016 10:43:27 +0000
(10:43 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 1 Feb 2016 10:43:27 +0000
(10:43 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48594
scripts/portable_date.sh
patch
|
blob
|
history
diff --git
a/scripts/portable_date.sh
b/scripts/portable_date.sh
index 244f545a257a6c1a426b7e6b56c617d65129fd2e..84b56382e0af941a9b2b8e73457839d4600d9341 100755
(executable)
--- 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 $?