projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd2578
)
scripts: fix GNU data invocation
author
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Feb 2016 10:43:27 +0000
(10:43 +0000)
committer
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Feb 2016 10:43:27 +0000
(10:43 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48594
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/portable_date.sh
patch
|
blob
|
history
diff --git
a/scripts/portable_date.sh
b/scripts/portable_date.sh
index
244f545
..
84b5638
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 $?