mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
scripts: gha: fix shellcheck warnings in deps_* scripts
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
. scripts/lib.sh
|
||||
|
||||
curl -L http://libsdl.org/release/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip
|
||||
curl -L "http://libsdl.org/release/SDL2-devel-$SDL_VERSION-VC.zip" -o SDL2.zip
|
||||
unzip -q SDL2.zip
|
||||
mv SDL2-$SDL_VERSION SDL2_VC
|
||||
mv "SDL2-$SDL_VERSION" SDL2_VC
|
||||
|
||||
if [ "$GH_CPU_ARCH" = "i386" ]; then
|
||||
rustup target add i686-pc-windows-msvc
|
||||
@@ -17,8 +17,8 @@ rm pkgconf.tar*
|
||||
mv mingw64 pkgconf
|
||||
|
||||
FFMPEG_ARCHIVE=$(get_ffmpeg_archive)
|
||||
curl -L https://github.com/FWGS/FFmpeg-Builds/releases/download/latest/$FFMPEG_ARCHIVE.zip -o ffmpeg.zip
|
||||
curl -L "https://github.com/FWGS/FFmpeg-Builds/releases/download/latest/$FFMPEG_ARCHIVE.zip" -o ffmpeg.zip
|
||||
if [ -f ffmpeg.zip ]; then
|
||||
unzip -x ffmpeg.zip
|
||||
mv $FFMPEG_ARCHIVE ffmpeg
|
||||
mv "$FFMPEG_ARCHIVE" ffmpeg
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user