mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-26 02:42:46 +00:00
trivial: build-windows: fix some shellcheck warnings
This commit is contained in:
parent
4f36ec32e8
commit
cfd584f26b
@ -2,8 +2,8 @@
|
|||||||
set -e
|
set -e
|
||||||
#prep
|
#prep
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
export DESTDIR=`pwd`/dist
|
root=$(pwd)
|
||||||
root=`pwd`
|
export DESTDIR=${root}/dist
|
||||||
build=$root/build-win32
|
build=$root/build-win32
|
||||||
rm -rf $DESTDIR $build
|
rm -rf $DESTDIR $build
|
||||||
|
|
||||||
@ -12,8 +12,8 @@ mkdir -p $build $DESTDIR && cd $build
|
|||||||
meson .. \
|
meson .. \
|
||||||
--cross-file=../contrib/mingw64.cross \
|
--cross-file=../contrib/mingw64.cross \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
--libexecdir=$target \
|
--libexecdir="" \
|
||||||
--bindir=$target \
|
--bindir="" \
|
||||||
-Dbuild=standalone \
|
-Dbuild=standalone \
|
||||||
-Ddocs=none \
|
-Ddocs=none \
|
||||||
-Dpolkit=false \
|
-Dpolkit=false \
|
||||||
@ -70,7 +70,7 @@ makensis -NOCD $build/contrib/setup-win32.nsi
|
|||||||
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/*.dll .
|
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/*.dll .
|
||||||
|
|
||||||
#remove static archives
|
#remove static archives
|
||||||
find -type f -name "*.dll.a" | xargs rm -f
|
find -type f -print0 -name "*.dll.a" | xargs rm -f
|
||||||
|
|
||||||
#remove stuff that we really don't need
|
#remove stuff that we really don't need
|
||||||
rm -fr gcab.exe \
|
rm -fr gcab.exe \
|
||||||
|
Loading…
Reference in New Issue
Block a user