mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 19:47:31 +00:00
14 lines
223 B
Bash
Executable File
14 lines
223 B
Bash
Executable File
#!/bin/sh
|
|
cd `dirname $PWD/$0`/..
|
|
if [ -d r2-bindings ]; then
|
|
cd r2-bindings
|
|
git pull
|
|
else
|
|
URL=`doc/repo BINDINGS`
|
|
if [ -z "$URL" ]; then
|
|
echo "No BINDINGS URL in doc/repo"
|
|
exit 1
|
|
fi
|
|
git clone $URL r2-bindings
|
|
fi
|