From 6da67f0ab11d56677a9bb20896d02e06511a1d02 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 11 Mar 2012 11:03:43 +0000 Subject: Support building obfsproxy git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@502 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- build-tor-sources | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'build-tor-sources') diff --git a/build-tor-sources b/build-tor-sources index fa7631d..ffd3dff 100755 --- a/build-tor-sources +++ b/build-tor-sources @@ -27,8 +27,15 @@ set -e set -x # this is hardcoded to weasel's directory layout. sorry. -GITDIR="$HOME/projects/tor/tor" -PKG="tor" +case "$(basename $0)" in + build-obfsproxy-sources) + GITDIR="$HOME/projects/debian/debian/obfsproxy/obfsproxy" + PKG="obfsproxy" + ;; + *) + GITDIR="$HOME/projects/tor/tor" + PKG="tor" +esac assert_files_dont_exist () { local debian_version="$1"; -- cgit v1.2.3