r11090 - /desktop/unstable/gnome-speech/debian/gnome-speech-swift.postinst

mlang at users.alioth.debian.org mlang at users.alioth.debian.org
Tue May 22 09:49:38 UTC 2007


Author: mlang
Date: Tue May 22 09:49:38 2007
New Revision: 11090

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11090
Log:
Fix stupid thinko in gnome-speech-swift.postinst.

Modified:
    desktop/unstable/gnome-speech/debian/gnome-speech-swift.postinst

Modified: desktop/unstable/gnome-speech/debian/gnome-speech-swift.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-swift.postinst?rev=11090&op=diff
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-swift.postinst (original)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-swift.postinst Tue May 22 09:49:38 2007
@@ -11,12 +11,12 @@
   swift_dir="$RET"
   if [ -d "$swift_dir" -a -d "$swift_dir/include" -a -d "$swift_dir/lib" ]; then
     # compile code here
-    swift_CFLAGS="-I. -I/usr/include/gnome-speech-1.0 -I$swift_dir/include -DORBIT2=1 -pthread -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0   -Wall -g -O2"
+    swift_CFLAGS="-I$srcdir -I/usr/include/gnome-speech-1.0 -I$swift_dir/include -DORBIT2=1 -pthread -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0   -Wall -g -O2"
     gcc $swift_CFLAGS -o /usr/bin/swift-synthesis-driver \
       $srcdir/swiftsynthesisdriver.c $srcdir/swiftspeaker.c \
       -Wl,--export-dynamic -lgnomespeech -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 -L$swift_dir/lib -lswift -lm
     sed -e 's, at prefix@,/usr,' <$srcdir/GNOME_Speech_SynthesisDriver_Swift.server.in >/usr/lib/bonobo/servers/GNOME_Speech_SynthesisDriver_Swift.server
-    if [ $swift_dir" != "/opt/swift" ]; then
+    if [ "$swift_dir" != "/opt/swift" ]; then
       if [ ! -f /opt/swift/etc/swift.xml ]; then
         ln -s $swift_dir/etc/swift.xml /etc/swift.xml
       fi




More information about the pkg-gnome-commits mailing list