3 # Run this file after building source with Glade.
6 for file in gnome_interface.c gtk_interface.c
8 if grep -q "DO NOT EDIT THIS FILE" $file
10 rm -f /tmp/$$.$file.bak
11 cat > /tmp/$$.$file.bak << EOF
12 /* This file was created automatically by glade and fixed by fixfiles.sh */
14 #include <videolan/vlc.h>
17 | sed 's#_("/dev/dvd")#DVD_DEVICE#' \
19 mv -f /tmp/$$.$file.bak $file