cpan.bbclass: removed bashisms (from Poky)
authorMarcin Juszkiewicz <hrw@openembedded.org>
Tue, 1 Apr 2008 09:40:07 +0000 (09:40 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Tue, 1 Apr 2008 09:40:07 +0000 (09:40 +0000)
classes/cpan.bbclass

index 506d4c4..ca5303d 100644 (file)
@@ -50,13 +50,13 @@ cpan_do_compile () {
 }
 
 cpan_do_install () {
-       if [ ${@is_target(d)} == "yes" ]; then
+       if [ ${@is_target(d)} = "yes" ]; then
                oe_runmake install_vendor
        fi
 }
 
 cpan_do_stage () {
-       if [ ${@is_target(d)} == "no" ]; then
+       if [ ${@is_target(d)} = "no" ]; then
                oe_runmake install_vendor
        fi
 }