$ cat bin/genembed.sh
#!/bin/sh
# created by cmake, don't edit, changes will be lost
LD_LIBRARY_PATH=/devel/kde/build/4/kdelibs4_snapshot/lib/./:/devel/kde/inst/kde4/lib:/devel/kde/build/4/kdelibs4_snapshot/lib/.:/devel/kde/src/4/qt-copy/lib${LD_LIBRARY_PATH+:LD_LIBRARY_PATH}
"/devel/kde/build/4/kdelibs4_snapshot/bin/genembed" "$@"
Are you sure about the ${LD_LIBRARY_PATH+:LD_LIBRARY_PATH} construct?
sh -x says:
+
LD_LIBRARY_PATH=/devel/kde/build/4/kdelibs4_snapshot/lib/./:/devel/kde/inst/kde4/lib:/devel/kde/build/4/kdelibs4_snapshot/lib/.:/devel/kde/src/4/qt-copy/lib:LD_LIBRARY_PATH
and indeed
$ echo ${LD_LIBRARY_PATH+:LD_LIBRARY_PATH}
:LD_LIBRARY_PATH
Shouldn't this be ${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH} ? (with a $ in front of
the var?)
bash and zsh (and sh symlinked to bash) seem to agree on this.
--
David Faure, [EMAIL PROTECTED], sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem