Permalink
Browse files

[WIN32] build libdvd in the right directory

  • Loading branch information...
1 parent 47e71be commit c40cb47940f83a722238c7344660c086d0f3634d @wsoltys wsoltys committed Jan 29, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/libdvd/build-xbmc-win32.sh
@@ -1,5 +1,11 @@
#!/bin/sh
+START_PATH=`pwd`
+if [ $START_PATH != "/xbmc/lib/libdvd" ]
+then
+cd /xbmc/lib/libdvd
+fi
+
#libdvdcss
cd libdvdcss
echo "***** Cleaning libdvdcss *****"
@@ -57,3 +63,5 @@ strip -S obj/libdvdnav.dll
cd ..
cp libdvdnav/obj/libdvdnav.dll /xbmc/system/players/dvdplayer/
echo "***** Done *****"
+
+cd $START_PATH

0 comments on commit c40cb47

Please sign in to comment.