changeset 518:c774bd8ad108 prerelease

Set date works on windows
author oromoiluig <giuliomoro@yahoo.it>
date Wed, 22 Jun 2016 17:51:52 +0100
parents 4656f886175e
children 45ddfcd0e417
files scripts/.bela_common
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/.bela_common	Wed Jun 22 15:21:58 2016 +0100
+++ b/scripts/.bela_common	Wed Jun 22 17:51:52 2016 +0100
@@ -30,7 +30,7 @@
 
 set_date(){
 # an optional parameter will be executed as part of the same ssh session
-	ssh $BBB_ADDRESS "date -s \"`date '+%Y%m%d %T %Z'`\" > /dev/null; $1"
+	ssh $BBB_ADDRESS "date -s \"`date '+%Y%m%d %T %z'`\" > /dev/null; $1"
 }
 
 check_board_alive(){