mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
Fix #5559 - Fix build of release capstone
This commit is contained in:
parent
0b86c2ac55
commit
662d482708
@ -6,6 +6,10 @@ CS_REV="$4" # revert
|
|||||||
|
|
||||||
if [ -d capstone -a ! -d capstone/.git ]; then
|
if [ -d capstone -a ! -d capstone/.git ]; then
|
||||||
echo "[capstone] release with no git?"
|
echo "[capstone] release with no git?"
|
||||||
|
cd capstone
|
||||||
|
for PATCH in ../capstone-patches/* ; do
|
||||||
|
patch -Rp1 < $PATCH
|
||||||
|
done
|
||||||
else
|
else
|
||||||
if [ ! -d capstone ]; then
|
if [ ! -d capstone ]; then
|
||||||
git clone "${CS_URL}" capstone || exit 1
|
git clone "${CS_URL}" capstone || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user