diff options
author | WiSo <wiso@xbmc.org> | 2011-01-29 18:05:43 +0100 |
---|---|---|
committer | WiSo <wiso@xbmc.org> | 2011-01-29 18:05:43 +0100 |
commit | c40cb47940f83a722238c7344660c086d0f3634d (patch) | |
tree | e926a213bf5f008b78d76ea409f743f95857a7f6 /lib/libdvd | |
parent | 47e71be5313854022fb35fa223e30180cd25f095 (diff) |
[WIN32] build libdvd in the right directory
Diffstat (limited to 'lib/libdvd')
-rw-r--r-- | lib/libdvd/build-xbmc-win32.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libdvd/build-xbmc-win32.sh b/lib/libdvd/build-xbmc-win32.sh index bd34a5783d..ff1bf4849b 100644 --- a/lib/libdvd/build-xbmc-win32.sh +++ b/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
\ No newline at end of file |