]> git.sesse.net Git - vlc/blobdiff - bootstrap.sh
Audio output 3. Expect major breakages.
[vlc] / bootstrap.sh
index e80cdbba4863de790a3f9ee53c861f30ba078db2..50637157713bba998d8169f246579e1218dc84f4 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 ##  bootstrap.sh file for vlc, the VideoLAN Client
-##  $Id: bootstrap.sh,v 1.9 2002/08/07 00:29:36 sam Exp $
+##  $Id: bootstrap.sh,v 1.10 2002/08/07 21:36:55 massiot Exp $
 ##
 ##  Authors: Samuel Hocevar <sam@zoy.org>
 
@@ -73,7 +73,7 @@ echo "$file."
 echo -n " + fixing glade bugs: "
 for file in gnome_interface.c gtk_interface.c
 do
-if grep -q "DO NOT EDIT THIS FILE" modules/gui/gtk/$file
+if grep "DO NOT EDIT THIS FILE" modules/gui/gtk/$file 2>&1 > /dev/null
 then
     rm -f /tmp/$$.$file.bak
     cat > /tmp/$$.$file.bak << EOF
@@ -97,7 +97,7 @@ echo -n "$file "
 done
 
 file=gtk_support.h
-if grep -q "DO NOT EDIT THIS FILE" modules/gui/gtk/$file
+if grep "DO NOT EDIT THIS FILE" modules/gui/gtk/$file 2>&1 > /dev/null
 then
     rm -f /tmp/$$.$file.bak
     sed 's/DO NOT EDIT THIS FILE.*/This file was created automatically by glade and fixed by bootstrap.sh/ ; s/#if.*ENABLE_NLS.*/#if defined( ENABLE_NLS ) \&\& defined ( HAVE_GETTEXT )/' < modules/gui/gtk/$file > /tmp/$$.$file.bak