]> git.sesse.net Git - vlc/blobdiff - plugins/gtk/fixfiles.sh
* Got rid of the DVD_DEVICE macro. We now use the dvd_device config option.
[vlc] / plugins / gtk / fixfiles.sh
index 568c76f4bdab616398761f605f9a2940b6e96f96..5fb4fbe78f16be4796e9ab79a1ca6d758895ca77 100755 (executable)
@@ -14,7 +14,7 @@ do
 #include <videolan/vlc.h>
 EOF
                 tail +8 $file \
-                        | sed 's#_("/dev/dvd")#DVD_DEVICE#' \
+                        | sed 's#_("/dev/dvd")#config_GetPszVariable( "dvd_device" )#' \
                         >> /tmp/$$.$file.bak
                 mv -f /tmp/$$.$file.bak $file
         fi