Update devops/install-capstone.sh

This commit is contained in:
M. Mert Yildiran 2022-06-09 08:41:12 +03:00
parent 5c0017aff0
commit 76393e0c1b
No known key found for this signature in database
GPG Key ID: D42ADB236521BF7A

View File

@ -5,7 +5,8 @@ if (( $EUID != 0 )); then
SUDO='sudo'
fi
git clone https://github.com/capstone-engine/capstone.git -b 4.0.2 --depth 1 && \
cd capstone && \
./make.sh && \
$SUDO ./make.sh install
curl https://github.com/aquynh/capstone/archive/4.0.2.tar.gz -Lo ./capstone.tar.gz \
&& tar -xzf capstone.tar.gz && mv ./capstone-* ./capstone \
&& cd capstone \
&& ./make.sh \
&& $SUDO ./make.sh install