[oe-commits] Michael : shr-image.inc: protect "$DISPLAY" for evaluating.

git version control git at git.openembedded.org
Thu Aug 20 16:55:04 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: 1c5b857f1801d362d8a48a8add476f83e4ba111e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1c5b857f1801d362d8a48a8add476f83e4ba111e

Author: Michael <lists at bitcloner.org>
Date:   Wed Aug 19 12:50:04 2009 +0000

shr-image.inc: protect "$DISPLAY" for evaluating.

---

 recipes/images/shr-image.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/images/shr-image.inc b/recipes/images/shr-image.inc
index 89b3a8f..46cdbe7 100644
--- a/recipes/images/shr-image.inc
+++ b/recipes/images/shr-image.inc
@@ -100,7 +100,7 @@ shr_rootfs_postprocess() {
     echo "ppp_generic" > ./etc/modutils/ppp_generic
 
     #set up some variables to improve default settings
-    echo "if [ \"$DISPLAY\" = \"\" ]" >> ./etc/profile
+    echo "if [ \"\$DISPLAY\" = \"\" ]" >> ./etc/profile
     echo "then" >> ./etc/profile
     echo "    export DISPLAY=localhost:0" >> ./etc/profile
     echo "fi" >> ./etc/profile





More information about the Openembedded-commits mailing list