[WIN32] build libdvd in the right directory
authorWiSo <wiso@xbmc.org>
Sat, 29 Jan 2011 17:05:43 +0000 (18:05 +0100)
committerWiSo <wiso@xbmc.org>
Sat, 29 Jan 2011 17:05:43 +0000 (18:05 +0100)
lib/libdvd/build-xbmc-win32.sh

index bd34a57..ff1bf48 100644 (file)
@@ -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
\ No newline at end of file