[WIN32] fixed: only remove .libs when doing a clean build
authorWiSo <wiso@xbmc.org>
Sat, 21 May 2011 18:40:23 +0000 (20:40 +0200)
committerWiSo <wiso@xbmc.org>
Sat, 21 May 2011 18:40:23 +0000 (20:40 +0200)
lib/ffmpeg/build_xbmc_win32.sh
lib/libmpeg2/make-xbmc-lib-win32.sh

index adecc4c..99ed5ee 100644 (file)
@@ -1,13 +1,12 @@
 #!/bin/bash
 
-if [ -d .libs ]
-then
-rm -r .libs
-fi
-
 if [ "$1" == "clean" ]
 then
-make distclean
+  if [ -d .libs ]
+  then
+    rm -r .libs
+  fi
+  make distclean
 fi
 
 OPTIONS="
index e749bd6..3b52bc0 100644 (file)
@@ -1,13 +1,12 @@
 #!/bin/bash 
 
-if [ -d libmpeg2/.libs ]
-then
-rm -r libmpeg2/.libs
-fi
-
 if [ "$1" == "clean" ]
 then
-make distclean
+  if [ -d libmpeg2/.libs ]
+  then
+    rm -r libmpeg2/.libs
+  fi
+  make distclean
 fi
 
 ./configure \