From 4fcf3d15e5b57c6c1dffd8e7c0cd5b84fda93138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Thu, 24 Oct 2013 11:06:44 +0200 Subject: compile.sh compiles openvpn binaries if necessary. --- compile-native-openvpn.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 compile-native-openvpn.sh (limited to 'compile-native-openvpn.sh') diff --git a/compile-native-openvpn.sh b/compile-native-openvpn.sh new file mode 100755 index 00000000..7b512631 --- /dev/null +++ b/compile-native-openvpn.sh @@ -0,0 +1,14 @@ +#!/bin/bash +function compile() { + svn co http://google-breakpad.googlecode.com/svn/trunk/ google-breakpad + ./build-native.sh +} + +if command -v $(head -n 1 build-native.sh | column | cut -d ' ' -f 1); then + compile +elif command -v ndk-build; then + sed -i 's/.*ndk-build/ndk-build/g' build-native.sh + compile +else + echo "Install ndk, or modify build-native script to point to your ndk-build executable" +fi -- cgit v1.2.3