Clean out dlls on win32 install.

Simplifies Win32 libretro building greatly.
This commit is contained in:
Themaister 2013-05-08 14:44:57 +02:00
parent cddbf9b296
commit 360e3fcf2e

View File

@ -2,10 +2,10 @@
ARCH_EXT="$1" ARCH_EXT="$1"
SCRIPT=$(readlink -f $0) SCRIPT=$(readlink -f "$0")
BASE_DIR=$(dirname $SCRIPT) BASE_DIR=$(dirname "$SCRIPT")
RARCH_DIR=$BASE_DIR/dist RARCH_DIR="$BASE_DIR/dist"
RARCH_DIST_DIR=$RARCH_DIR/windows RARCH_DIST_DIR="$RARCH_DIR/windows"
cd "$RARCH_DIST_DIR" cd "$RARCH_DIST_DIR"
for file in *.dll for file in *.dll
@ -15,5 +15,6 @@ do
FILENAME="`echo $file | sed -e $REGEX_MV`" FILENAME="`echo $file | sed -e $REGEX_MV`"
mv -v "$file" "$FILENAME" mv -v "$file" "$FILENAME"
zip "`echo $file | sed -e $REGEX`" "$FILENAME" zip "`echo $file | sed -e $REGEX`" "$FILENAME"
rm -f "$FILENAME"
done done