python-efl.inc: remove bashisms to make the Ubuntu crew happy
authorMichael Lauer <mickey@vanille-media.de>
Tue, 20 May 2008 22:51:32 +0000 (22:51 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Tue, 20 May 2008 22:51:32 +0000 (22:51 +0000)
packages/python/python-efl.inc

index 1cbec65..0147813 100644 (file)
@@ -15,13 +15,13 @@ S = "${WORKDIR}/${PN}"
 do_install_append() {
        if [ -e examples ]; then
                for i in `find examples -name "*.edc"`; do
-                       pushd `dirname $i`
+                       cd ${S}/`dirname $i`
                        echo "Generating .edj file for $i..."
                        edje_cc `basename $i`
                        echo "Removing sources in this directory..."
                        rm -f *.edc *.png *.ttf *.jpeg
-                       popd
                done
+               cd ${S}
                install -d ${D}${datadir}/${PN}/
                cp -a examples ${D}${datadir}/${PN}/
                find ${D}${datadir}/${PN}/examples -name "CVS" | xargs rm -rf