fixed $installDirectory variable
This commit is contained in:
parent
55ccc10d01
commit
222703dd8e
1 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ off="printf \033[0m"
|
||||||
#
|
#
|
||||||
distroName="$(cat /etc/*-release | grep -w "NAME")"
|
distroName="$(cat /etc/*-release | grep -w "NAME")"
|
||||||
distroPrettyName="$(cat /etc/*-release | grep -w "PRETTY_NAME" | sed "s/PRETTY_NAME=//")"
|
distroPrettyName="$(cat /etc/*-release | grep -w "PRETTY_NAME" | sed "s/PRETTY_NAME=//")"
|
||||||
installDirectory="$(pwd)/xmrig"
|
installDirectory="$(pwd)"
|
||||||
|
|
||||||
################################################################ START OF SCRIPT ################################################################
|
################################################################ START OF SCRIPT ################################################################
|
||||||
|
|
||||||
|
@ -103,9 +103,9 @@ else
|
||||||
fi
|
fi
|
||||||
Build_Commands()
|
Build_Commands()
|
||||||
{
|
{
|
||||||
git clone https://github.com/xmrig/xmrig.git
|
cd $installDirectory
|
||||||
mkdir xmrig/build
|
mkdir build
|
||||||
cd xmrig/scripts
|
cd scripts
|
||||||
./build_deps.sh
|
./build_deps.sh
|
||||||
# 2022-03-10: openssl fails to compile on fedora, libressl is used instead
|
# 2022-03-10: openssl fails to compile on fedora, libressl is used instead
|
||||||
if [[ $foundPackageManager = "dnf" ]]; then
|
if [[ $foundPackageManager = "dnf" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue