mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 20:14:22 +00:00
Fixup install-win32.
Uses date now as versioning scheme.
This commit is contained in:
parent
7505e90af8
commit
fecea617fd
@ -5,13 +5,15 @@ 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/win"
|
||||||
|
|
||||||
|
DAY=$(date +"%Y%m%d")
|
||||||
|
|
||||||
cd "$RARCH_DIST_DIR"
|
cd "$RARCH_DIST_DIR"
|
||||||
for file in *.dll
|
for file in *.dll
|
||||||
do
|
do
|
||||||
REGEX_MV="s|^\(.*\)\.dll$|\1-${ARCH_EXT}.dll|"
|
REGEX_MV="s|^\(.*\)\.dll$|\1_${ARCH_EXT}_${DAY}.dll|"
|
||||||
REGEX="s|^\(.*\)\.dll$|\1-${ARCH_EXT}.zip|"
|
REGEX="s|^\(.*\)\.dll$|\1_${ARCH_EXT}_${DAY}.zip|"
|
||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user