mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 11:43:39 +00:00
16 lines
310 B
Bash
Executable File
16 lines
310 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# find root
|
|
cd "$(dirname "$PWD/$0")"
|
|
|
|
if [ -x /opt/local/bin/port ]; then
|
|
sudo port install i386-mingw32-gcc
|
|
sudo port install swig
|
|
sudo port install swig-python
|
|
elif [ -x /usr/bin/pacman ]; then
|
|
sudo pacman -S swig
|
|
elif [ -x /usr/bin/apt-get ]; then
|
|
sudo apt-get install swig
|
|
fi
|
|
:>.mark_swig
|