fix highlighted problems
This commit is contained in:
parent
3428fd76fa
commit
67bd8f242a
|
@ -1,12 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source ~/.cargo/env
|
source /home/rust/.cargo/env
|
||||||
cargo build --target=x86_64-pc-windows-gnu --release
|
cargo build --target=x86_64-pc-windows-gnu --release
|
||||||
|
|
||||||
mkdir package
|
mkdir package
|
||||||
cp target/x86_64-pc-windows-gnu/release/*.exe package
|
cp target/x86_64-pc-windows-gnu/release/*.exe package
|
||||||
|
|
||||||
export DLLS=`peldd package/*.exe -t --ignore-errors`
|
DLLS=$(peldd package/*.exe -t --ignore-errors)
|
||||||
|
export DLLS
|
||||||
|
|
||||||
for DLL in $DLLS
|
for DLL in $DLLS
|
||||||
do cp "$DLL" package
|
do cp "$DLL" package
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue