diff options
author | Holger Freyther <zecke@selfish.org> | 2008-01-07 18:25:55 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2008-01-07 18:25:55 +0000 |
commit | 484aec6e78dd9624f20779130565d1774d5b9e9f (patch) | |
tree | 669af5386d34b447d37985fb5ab095bf851c3a68 /packages/nunome/nunome_1.0.2.bb | |
parent | d1631785248a72bb4d02cd55307b2a994fa5673a (diff) |
Bashism fix: echo -e is a bashism and doesn't work when /bin/sh points to dash
Instead of using "echo -e" we simply use printf. printf doesn't add a newline
by default. So some places needed an extra \n in their string.
Most of the change was done by hand, so please carefully review. This bug was
spotted when trying to compile python-pyqt on my ubuntu hardy system.
Diffstat (limited to 'packages/nunome/nunome_1.0.2.bb')
-rw-r--r-- | packages/nunome/nunome_1.0.2.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/nunome/nunome_1.0.2.bb b/packages/nunome/nunome_1.0.2.bb index 044ed1358c..4dd1519536 100644 --- a/packages/nunome/nunome_1.0.2.bb +++ b/packages/nunome/nunome_1.0.2.bb @@ -20,11 +20,11 @@ PARALLEL_MAKE = "" do_configure_prepend() { sed -i -e 's,/opt/QtPalmtop/bin/,${bindir}/,g' "${S}/ui/nunome.h" sed -i -e 's,/opt/QtPalmtop/,${palmtopdir}/,g' "${S}/ui/nunome.h" - echo -e "TEMPLATE=subdirs\nSUBDIRS=Nnmlib server ui dicman ui" >nunome.pro + printf "TEMPLATE=subdirs\nSUBDIRS=Nnmlib server ui dicman ui\n" >nunome.pro pushd Nnmlib && qmake -project -t lib && popd - pushd server && qmake -project && echo -e "LIBS+=-lNnmlib\nTARGET=server.bin" >> server.pro && popd - pushd dicman && qmake -project && echo -e "LIBS+=-lnunome -lNnmlib\nTARGET=dicman.bin" >> dicman.pro && popd - pushd ui && qmake -project -t lib && echo -e "LIBS+=-lNnmlib\nTARGET=nunome" >> ui.pro && popd + pushd server && qmake -project && printf "LIBS+=-lNnmlib\nTARGET=server.bin\n" >> server.pro && popd + pushd dicman && qmake -project && printf "LIBS+=-lnunome -lNnmlib\nTARGET=dicman.bin\n" >> dicman.pro && popd + pushd ui && qmake -project -t lib && printf "LIBS+=-lNnmlib\nTARGET=nunome\n" >> ui.pro && popd find . -name "moc*"|xargs rm -f find . -name "Makefile"|xargs rm -f } |