pandora-scripts: fix echo redirect
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 10 Dec 2013 23:52:24 +0000 (01:52 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 10 Dec 2013 23:52:24 +0000 (01:52 +0200)
recipes/pandora-system/pandora-first-run-wizard.bb
recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_datetime.sh

index 24cecc7..eef8e03 100755 (executable)
@@ -6,7 +6,7 @@ RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrat
 
 COMPATIBLE_MACHINE = "omap3-pandora"
 
 
 COMPATIBLE_MACHINE = "omap3-pandora"
 
-PR = "r51"
+PR = "r52"
 
 SRC_URI = " \
           file://first-run-wizard.sh \
 
 SRC_URI = " \
           file://first-run-wizard.sh \
index 75b4252..806df0d 100755 (executable)
@@ -189,7 +189,7 @@ done
 
 echo $timezone
 rm /etc/localtime && ln -s /usr/share/zoneinfo/$area/$timezone /etc/localtime
 
 echo $timezone
 rm /etc/localtime && ln -s /usr/share/zoneinfo/$area/$timezone /etc/localtime
-echo $area/$timezone >> /etc/timezone
+echo "$area/$timezone" > /etc/timezone
 
 #Make sure we clean up any leading zeros in the day (as Zenity freaks out)
 date_d=`date +%d | sed 's/^0//'`
 
 #Make sure we clean up any leading zeros in the day (as Zenity freaks out)
 date_d=`date +%d | sed 's/^0//'`
index 8203f85..d5c1a5c 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "bash sed gawk grep zenity"
 
 
 RDEPENDS = "bash sed gawk grep zenity"
 
-PR = "r153"
+PR = "r154"
 
 SRC_URI = " \
           file://op_paths.sh \
 
 SRC_URI = " \
           file://op_paths.sh \
index 358b398..b217706 100644 (file)
@@ -19,7 +19,7 @@ case $mainsel in
 
     echo $timezone
     rm /etc/localtime && ln -s /usr/share/zoneinfo/$area/$timezone /etc/localtime
 
     echo $timezone
     rm /etc/localtime && ln -s /usr/share/zoneinfo/$area/$timezone /etc/localtime
-    echo $area/$timezone >> /etc/timezone
+    echo "$area/$timezone" > /etc/timezone
   ;;
 
   "td")
   ;;
 
   "td")