[oe-commits] Andreas Oberritter : contrib/deploy: fix sh equality operator

git version control git at git.openembedded.org
Sun Nov 14 23:43:34 UTC 2010


Module: openembedded.git
Branch: master
Commit: f22700b8384bf2ff5d3ce7f417aab3824eb31872
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f22700b8384bf2ff5d3ce7f417aab3824eb31872

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Tue Oct 26 15:41:49 2010 +0000

contrib/deploy: fix sh equality operator

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Acked-by: Michael Smith <msmith at cbnco.com>

---

 contrib/deploy/nfs/oe-nfs-deploy-image |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/deploy/nfs/oe-nfs-deploy-image b/contrib/deploy/nfs/oe-nfs-deploy-image
index ee54069..4959488 100755
--- a/contrib/deploy/nfs/oe-nfs-deploy-image
+++ b/contrib/deploy/nfs/oe-nfs-deploy-image
@@ -12,7 +12,7 @@ if [ -z "$1" ]; then
     exit
 fi
 
-if [ "$1" == "-l" ]; then
+if [ "$1" = "-l" ]; then
     if [ -n "$2" ]; then
 	extra="-name *$2*"
     fi
@@ -39,9 +39,9 @@ rm -rf $NFS_ROOT/$basename
 
 mkdir -p $NFS_ROOT/$basename
 
-if [ "$ext" == "tar.bz2" ]; then
+if [ "$ext" = "tar.bz2" ]; then
     tar -xj -f $1 -C $NFS_ROOT/$basename
-elif [ "$ext" == "tar.gz" ]; then
+elif [ "$ext" = "tar.gz" ]; then
     tar -xz -f $1 -C $NFS_ROOT/$basename
 else
     FPATH=`pwd`





More information about the Openembedded-commits mailing list