From 360e3fcf2e5d36cca99429f839aced5f987c4a8d Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 8 May 2013 14:44:57 +0200 Subject: [PATCH] Clean out dlls on win32 install. Simplifies Win32 libretro building greatly. --- libretro-install-win32.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libretro-install-win32.sh b/libretro-install-win32.sh index d4d3525c..99be258a 100755 --- a/libretro-install-win32.sh +++ b/libretro-install-win32.sh @@ -2,10 +2,10 @@ ARCH_EXT="$1" -SCRIPT=$(readlink -f $0) -BASE_DIR=$(dirname $SCRIPT) -RARCH_DIR=$BASE_DIR/dist -RARCH_DIST_DIR=$RARCH_DIR/windows +SCRIPT=$(readlink -f "$0") +BASE_DIR=$(dirname "$SCRIPT") +RARCH_DIR="$BASE_DIR/dist" +RARCH_DIST_DIR="$RARCH_DIR/windows" cd "$RARCH_DIST_DIR" for file in *.dll @@ -15,5 +15,6 @@ do FILENAME="`echo $file | sed -e $REGEX_MV`" mv -v "$file" "$FILENAME" zip "`echo $file | sed -e $REGEX`" "$FILENAME" + rm -f "$FILENAME" done