mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not use --force with rm if not needed
This commit is contained in:
parent
67041fb37f
commit
59e8bbb1d7
@ -53,23 +53,23 @@ then
|
|||||||
z3_package="${z3_dir}.zip"
|
z3_package="${z3_dir}.zip"
|
||||||
wget "https://github.com/Z3Prover/z3/releases/download/z3-${z3_version}/${z3_package}"
|
wget "https://github.com/Z3Prover/z3/releases/download/z3-${z3_version}/${z3_package}"
|
||||||
unzip "$z3_package"
|
unzip "$z3_package"
|
||||||
rm -f "$z3_package"
|
rm "$z3_package"
|
||||||
cp "${z3_dir}/bin/libz3.a" /usr/local/lib
|
cp "${z3_dir}/bin/libz3.a" /usr/local/lib
|
||||||
cp "${z3_dir}/bin/z3" /usr/local/bin
|
cp "${z3_dir}/bin/z3" /usr/local/bin
|
||||||
cp "${z3_dir}/include/"* /usr/local/include
|
cp "${z3_dir}/include/"* /usr/local/include
|
||||||
rm -rf "$z3_dir"
|
rm -r "$z3_dir"
|
||||||
|
|
||||||
# evmone
|
# evmone
|
||||||
evmone_version="0.8.0"
|
evmone_version="0.8.0"
|
||||||
evmone_package="evmone-${evmone_version}-darwin-x86_64.tar.gz"
|
evmone_package="evmone-${evmone_version}-darwin-x86_64.tar.gz"
|
||||||
wget "https://github.com/ethereum/evmone/releases/download/v${evmone_version}/${evmone_package}"
|
wget "https://github.com/ethereum/evmone/releases/download/v${evmone_version}/${evmone_package}"
|
||||||
tar xzpf "$evmone_package" -C /usr/local
|
tar xzpf "$evmone_package" -C /usr/local
|
||||||
rm -f "$evmone_package"
|
rm "$evmone_package"
|
||||||
|
|
||||||
# hera
|
# hera
|
||||||
hera_version="0.5.0"
|
hera_version="0.5.0"
|
||||||
hera_package="hera-${hera_version}-darwin-x86_64.tar.gz"
|
hera_package="hera-${hera_version}-darwin-x86_64.tar.gz"
|
||||||
wget "https://github.com/ewasm/hera/releases/download/v${hera_version}/${hera_package}"
|
wget "https://github.com/ewasm/hera/releases/download/v${hera_version}/${hera_package}"
|
||||||
tar xzpf "$hera_package" -C /usr/local
|
tar xzpf "$hera_package" -C /usr/local
|
||||||
rm -f "$hera_package"
|
rm "$hera_package"
|
||||||
fi
|
fi
|
||||||
|
@ -15,4 +15,4 @@ TEMPDIR=$(mktemp -d)
|
|||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
)
|
)
|
||||||
rm -rf "$TEMPDIR"
|
rm -r "$TEMPDIR"
|
||||||
|
Loading…
Reference in New Issue
Block a user