mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-11 22:50:09 +00:00
little qa
This commit is contained in:
@@ -7,11 +7,11 @@ echo '[INSTALL] Found Python3'
|
||||
|
||||
command
|
||||
status=$?
|
||||
cmd="python3 -m pip -V"
|
||||
cmd='python3 -m pip -V'
|
||||
$cmd
|
||||
status=$?
|
||||
if [ $status -eq 0 ]; then
|
||||
echo "[INSTALL] Found pip"
|
||||
echo '[INSTALL] Found pip'
|
||||
python3 -m pip install --upgrade pip
|
||||
else
|
||||
echo "[ERROR] The command ($cmd) failed. python3-pip not installed"
|
||||
@@ -23,16 +23,16 @@ python3 -m pip install virtualenv
|
||||
python3 -m virtualenv venv -p python3
|
||||
source venv/bin/activate
|
||||
|
||||
unamestr=`uname`
|
||||
unamestr=$(uname)
|
||||
if [[ "$unamestr" == 'Darwin' ]]; then
|
||||
export ARCHFLAGS="-arch x86_64"
|
||||
export LDFLAGS="-L/usr/local/opt/openssl/lib"
|
||||
export CFLAGS="-I/usr/local/opt/openssl/include"
|
||||
export ARCHFLAGS='-arch x86_64'
|
||||
export LDFLAGS='-L/usr/local/opt/openssl/lib'
|
||||
export CFLAGS='-I/usr/local/opt/openssl/include'
|
||||
fi
|
||||
|
||||
echo '[INSTALL] Installing APKiD requirements - yara-python'
|
||||
pip install wheel
|
||||
pip wheel --wheel-dir=/tmp/yara-python --build-option="build" --build-option="--enable-dex" git+https://github.com/VirusTotal/[email protected]
|
||||
pip wheel --wheel-dir=/tmp/yara-python --build-option='build' --build-option='--enable-dex' git+https://github.com/VirusTotal/[email protected]
|
||||
pip install --no-index --find-links=/tmp/yara-python yara-python
|
||||
|
||||
echo '[INSTALL] Installing Requirements'
|
||||
|
||||
Reference in New Issue
Block a user