]> git.openpandora.org Git - openpandora.oe.git/commitdiff
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 24cecc746bed3fa62520bfc6e2fbdafab8c3efc4..eef8e0344fd31d451e228b52c3230ad46c9e3fea 100755 (executable)
@@ -6,7 +6,7 @@ RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrat
 
 COMPATIBLE_MACHINE = "omap3-pandora"
 
-PR = "r51"
+PR = "r52"
 
 SRC_URI = " \
           file://first-run-wizard.sh \
index 75b4252798c43f3ed12a311320c36725e5d268b4..806df0dbaae9399ae7895ee25ebe8c12f3fdd91b 100755 (executable)
@@ -189,7 +189,7 @@ done
 
 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//'`
index 8203f859d6dcbc10a0dffaa2b9dd355558a0b0fc..d5c1a5c836bf039a3c55f5f23e9b979a11b61ca5 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "bash sed gawk grep zenity"
 
-PR = "r153"
+PR = "r154"
 
 SRC_URI = " \
           file://op_paths.sh \
index 358b398359774c18e5df232b4e0f3fb66b86e20d..b21770617349f2444baee89a771ced88f1bdca5b 100644 (file)
@@ -19,7 +19,7 @@ case $mainsel in
 
     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")