mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-02 03:32:04 +00:00
Fix clone branch issue in capstone.sh when selecting non-next
This commit is contained in:
parent
a4d4002ce0
commit
098318211f
@ -12,7 +12,7 @@ if [ -d capstone -a ! -d capstone/.git ]; then
|
||||
done
|
||||
else
|
||||
if [ ! -d capstone ]; then
|
||||
git clone -b next --depth 10 "${CS_URL}" capstone || exit 1
|
||||
git clone -b "${CS_BRA}" --depth 10 "${CS_URL}" capstone || exit 1
|
||||
fi
|
||||
cd capstone || exit 1
|
||||
if [ -n "${CS_REV}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user