summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2012-03-11 11:03:43 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2012-03-11 11:03:43 +0000
commit6da67f0ab11d56677a9bb20896d02e06511a1d02 (patch)
treed782fee806a745218a0960a289477edd914416e1
parentf6bbc5a220e0b3069dded919e81644f4cf222a38 (diff)
Support building obfsproxy
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@502 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xbuild-tor-sources11
1 files changed, 9 insertions, 2 deletions
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";